noticeus
I'll have a question according the scatter node!

I'm currently trying to create a particle setup to generate ice shards popping up through a surface based on a texture projection to be not dependant on uvs. So far it works fine. I'm using a scatter node with a projected ramp to generate scatter points which I feed into a pointCloudParticleEmitter to generate nParticles and instance geometry onto the particles with surface normals to orient them properly.

So now my problem. As long I only use single surfaced objects all is fine, but if there is closed object I get scatter points on both sides of the geometry. Is there a way to only allow scatter points being created on the surface facing the projection plane?

hope you could follow my explanations.
Reply 0 0
pshipkov
Just use another object, but not the main one that has two sides. You can do something like this:
duplicate the original object.
connect orig.outMesh to new.inMesh (or other geo data attribute if these are not meshes)
use boundingObject+group+delete or other similar method to procedurally delete the back side (if the geo is changing point count) or just select the back faces and delete them
then scatter points on that new geo.
Reply 0 0
noticeus
thanks for the reply, but procedurally deleting backfaces or doing it by hand seems a bit tedius because it is already a combined object out of 1000 other small objects. isn't there a way to tell the scatter projection plane to only create scatter points on a surface facing the projection plane?

Reply 0 0
pshipkov
Actually things work exactly the opposite way internally in the scatter node.
Points get scattered all over the place and then get culled by the projection planes.
But you have another option:
you can create another plane that is placed on the side of your original object where you want the points to exist. Then you scatter stuff on it. Then use rayProject node to project the result onto the original object. This will give you the one side result.
Reply 0 0
noticeus
Great tip! Thank you very much.
Reply 0 0
Reply