noiseOfId
Hi,
I would like to place particles on a surface (simple polyPlane) per goalU and goalV and then read the texture data from that point to affect my particle.
Basically the stuff you would do with "colorAtPoint", but instead I would like to use the textureToArray since it is zillion times faster.
Problem is that I can only make it work with  a "normal" vertex goal or by plugging the mesh into the particles inputGeometry.
This way the array indices of the geometry and the particles match and thus textureToArray gives me the correct value.
With goalUV I don't see a way to make this work, though a workaround could be to use the pointNode and transform the points in a similar way as I have setup my expression for the goalUV.
But I really want to avoid that in my case!
So can anybody see an elegant way to map the goalUV data into the textureToArray?
cheers,
Johannes
Reply 0 0
noiseOfId
Also: using AttributeTransfer would be very slow in my case as there are quite a lot of particles:comp:
Reply 0 0
noiseOfId
Ok, solved my problem by hacking a softBody inbetween, which works in my case...:cool:
Reply 0 0
Reply