DDelapena
Hello,

I've got a node network setup that works in its current state, but feel that it could be simplified without relying on a mesh to clip the point cloud generated by the scatter node. 

Currently, part of the network goes something like this:

planeMesh.worldMesh[0] -> group1.inGeometry
using a bounding object connected to clip it and create an area of collision
group1.outGeometry -> mesh1.inMesh
mesh1.worldMesh[0] -> scatterNode.inGeometry
set to surface
generating points on the planeMesh, acting as the potential 'Points of Emission on the ground'. This way we can keep the mesh relatively low res.

At this point, i'd like to be able to just clip the point cloud with bounding object directly, and use those points within the bounding objects with pointCloudFluidEmitter or pointCloudParticleEmitter. However, the following additional node networks seems required in order to make this work.

scatterNode.outPositionPP -> pointCloudToMesh.inPositionPP
pointCloudToMesh.outMesh -> group2.inGeometry
using multiple bounding objects connected to clip it and create the 'actual area of emission' where a characters feet are. 

The rest is connected to a pointCloudEmitter of some sort using those points within the latest bounding objects to emit fluid or particles.

Please let me know if this is possible with the current soup nodes. Or, what is the fastest computation way to set this up. Otherwise, I can keep using the node network i have.

thanks
-Dan

DDelapena
Sorry,

I'm assuming no response means there is currently no way other way to do this?

thanks
-Dan
Reply 0 0
pshipkov
I missed this thread, that's why didn't reply.

There are multiple ways to achieve that, but i have the feeling that the approach to your problem may be wrong.
Can you explain what you are trying to achieve and i will try to help you.
Reply 0 0
DDelapena
I'm achieving this result with my current node network, explained in my previous post. However, i'd like it to not use a specific node process that seems to slow things down.

What I'm achieving:
In short, emitting particles from scattered points within a specific volume. 

Here are the specifics:
Bounding volumes are constrained to a character's feet. Based on where those bounding volumes intersect within the geometry, a point cloud is generated on the surface of the geo... and particles are emitting from those points within the volume. However, there are multiple levels of this, there is first the bounding volume that represents what is collided, using delete components/group/bounding volume. Then allowed emission area, (same setup), in which the scattered points are randomly generated on the surface..i'm doing this for speed, so that the density value doesn't need to be so high for the emission area.. then the bounding volumes after that determine where the actual emission area is.. which takes those scattered points and clips them within the bounding volume, to emit particles, in which emits fluids from the particles with a velocity that is the cross product of the normal vector.

What i'm trying to achieve:
Any advice on how to easier clip the scattered points directly (without the use of the point cloud to mesh node)for best efficiency/speed is much appreciated.  

-Dan
Reply 0 0
pshipkov
Got it.

Right now you cannot directly do that with bounding objects, but you can use the scatter node's projectors in contained mode.
If one projector per area is not enough you can do booleans with them. Check the example videos and scene and you will get it.

I am working right now on clipping points using camera frustum. Maybe i will just go ahead and add support for bounding objects (maybe in the release after the next one).
Reply 0 0
DDelapena
Cool, i'll give that a shot. thanks for the idea Peter.

Support for bounding objects would also be great, in the future.

thanks a bunch. I appreciate it.

-Dan
Reply 0 0
Reply