For the image case you can use
http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick-particles2-maskshape.html
. That should be fairly simple.

Unfortunately the arbitrary item case is not so simple. I believe you
have to use a 
http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick-particles2-customparticle.html
, use ShaderEffectSource to get the other Item into the custom
particles shaders as a texture, and use that texture as a filter to
play only particles that end up inside that texture (or if exploding
from it, which end up inside the texture but play the particles
backwards).

--
Alan Alpert

On Fri, Apr 26, 2013 at 2:20 AM, Mark <mark...@gmail.com> wrote:
> Note: I said image but i meant any Item {...} based object. With a
> result like for example this:
> http://www.youtube.com/watch?v=FB4SZCTIcuo (first few seconds) Now
> that is for text, but if the "effect" works on items then the content
> of that item shouldn't matter i suppose.
>
> On Fri, Apr 26, 2013 at 10:19 AM, Mark <mark...@gmail.com> wrote:
>> Hi,
>>
>> I guess this is possible, but i don't know how. I'm searching for docs
>> somewhere that explain how i can dissolve an image using QML Particles
>> or the other way around let it appear using particles.
>>
>> How can this be done in QML?
>>
>> Regards,
>> Mark
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to