DickyT
Hi all,
Wondering if there was a way to do this with soup, rather than the colorAtPoint command...

You can drive the u and v chords of a ramp with a per particle attribute.
Is there a way to drive any other texture (water, ocean, file etc.) with particle attributes and pipe it back to a per particle attribute?

Thanks!

Segway all the way!
Reply 0 0
pshipkov
I can interpret your post in few different ways.

The header suggests that you want to sample mesh surface using point cloud (your particles) and get the UV of the closest point on the mesh for each particle. If that's the case then there is one node in SOuP that does exactly that - pointsOnMeshInfo (don't get confused with the maya pointOnMeshInfo - notice the "s").
Connect particleShape.position to pomi.inPositionPP and read the outUvPP attribute.

Not sure what you mean with the second part of your post. Please explain. :)

Reply 0 0
DickyT
oops!
ok, its standard to drive a particles ppRGB with an array mapper driven by its age.
but is there a way to drive textures (other than ramps) with pp attributes - not necessarily just age but custom attributes.
hope that make a little more sense!


Segway all the way!
Reply 0 0
pshipkov
I never really tried myself, but in theory it should work. Try to replace one ramp by other texture node and see what happens.
Reply 0 0
DickyT

Segway all the way!
Reply 0 0
DickyT
boo and hiss! it doesn't work. Despite the statement on the array mapper in the docs!
"Node used for mapping array attribute to the color attributes of texture nodes. Typically used by particle objects to invoke color values from the texture node for each particle."

Am I missing something?


Segway all the way!
Reply 0 0
pshipkov
I assume you are using only standard nodes, correct ?
I opened your scene but there is no emitter in it.

Reply 0 0
DickyT
I painted the particles.
Yeah its all maya standard stuff.



Segway all the way!
Reply 0 0
Reply