cloud68
Hi Peter,

First thanks very much for your plugin. I can't live without them now.

I have a feature request that I think is not too hard to implement. I need the scatter node to accept points grid inside an object. I can achieve this using particle grid plugged into a bounding box at the moment, but having it built in and fully controllable (spacing, offset, divisions etc) would be awesome. Also having the control for local(moving with the object) or world (achieving Lego animation effects) also great
On the second note, do you know if one can take a polyCube and create the "grid effect by reading the width, height and depth calues (similar to lattice, but lattice is limited to 50000 points only)


Thank you

F

Reply 0 0
pshipkov
You can achieve that in at least two SOuP ways.

First method is by using the bound node basically place a cube somewhere, slap to it bound node, then adjust divisions (turn-on the sparse features if needed) then pipe this into pointAttributeToArray (extract the point poisitions) and pipe that into the scatter node.

Another is to place a fluidContainer pipe it into fluidAttributeToArray and that goes into the scatter node inPositionPP.

If you connect the worldMatrix of a transform node to the scatter node inWorldPartentMatrix you will get the world space transformations to not reshuffle the scattered points.

Reply 0 0
cloud68
WOW. Trying it now. Thanks a lot dude...
Reply 0 0
pshipkov
you are welcome :)
Reply 0 0
cloud68
Thanks again Peter,

One thing: Is it possible to provide bound node with transform node to access the world matrix so the data provided is not constraint to world grid only but also takes angle?

Reply 0 0
pshipkov
Check the transformGeometry node - it does exactly this.
There is no reason to duplicate existing functionality in SOuP.

Reply 0 0
cloud68

Please forgive my ignorance, Peter but I failed to achieve the desired effects using this node. Any hint? Thanks
Reply 0 0
pshipkov
Can you pass me a scene ?
Reply 0 0
cloud68
Here we go, sir. Thank you for your time.
Reply 0 0
pshipkov
Check the attached file. It contains two scenes for two different ways of doing it.

Reply 0 0
cloud68
Thank you, Sir. I'll keep you posted. I'll try it as soon as I can
Reply 0 0
cloud68
There is an eror when I opened both file but I can see how the network works. I need an independent transform node to do that :P Thanks, Peter.

Now the problem is the way bound node sample volume of the input mesh, so when I transform the points with transformGeometry node I can see the "bounding box" of where the points end. It no longer "fill" the volume anymore.

Reply 0 0
pshipkov
You see that effect because the points get multiplied by the supplied world matrix after they get created inside the base object. I can probably give you an option in a future release to "inflate" the base object's bounding box so it wraps the geometry if we rotate it, etc.
Reply 0 0
cloud68
top notch. thank you for your time, PS
Reply 0 0
Reply