MrFurious
Hey eveyone,

I'm just getting into SoUP and it's pretty cool.  I'm playing around with the scatter nodes using the videos as a guide... and i'm having an issue on where when applying to a plane for example the points go all over the plane, but when i move some verts... the points only appear where the verts have moved... see attached.

the desired effect is to retain the particle placement from before the plane was deformed, yet still sticking to the surface.

any help is appreciated.  I post a scene if need be.


DickyT
Looks like you need to turn scatter mode to surface from volume.
When you have a totally flat surface, it has no volume so its forced to scatter everywhere. But when you move a point, it breaks the plane and creates a hollow - a hollow that is interpreted as a volume and hence that receives the scattering.

At least that's what i think is going on.

R


Reply 0 0
pshipkov
I think you have to switch to "surface" mode.
Reply 0 0
MrFurious
I am in surface mode.  made sure to double check that.  it feels like its duriving the volume from the bounding box even though it's on surface mode.

try a simple scene were you just attache the scatter node to a plane.  pick a point and then move it up.

not the desired effect?

Reply 0 0
MrFurious
i also don't want volume (but it acts the same way). 
Reply 0 0
MrFurious
Here is a sample file.
Reply 0 0
MrFurious
using the 3/16 release FYI

Reply 0 0
MrFurious
just did a sanity check on a close surface (sphere) and it works on the surface as expected.

i'm thinking there's a bug in the way it calculates a flat object.???  maybe it's still somehow using the volume or a bounding box calculation to spread out the points?

posted again is a simple sphere with a scatter node plugged in.  works as expected.

Reply 0 0
pshipkov
It's not really a bug, but more like how things work.
There is a simple workaround for that:

create a locator
connect it's worldMatrix to scatter.inWorldMatrix
rotate to locator a bit - you will get what you need i think.

Now on a related note - i plan to implement two more scattering methods - UV and triangle based. They will be only for surface scattering and will help in specific cases like your one.

Reply 0 0
MrFurious
i took my plane and simply extruded the edge and got the result i am expecting.  this is a decent work around but you might want to look on how your calculating the surface when it's a plane.

:)

Andy

hackScatter.jpg
Reply 0 0
MrFurious
ahhhh cool thanks i'll try that.  obviously this tool is very cool for procedural terrain population.  :) which is what i'm setting up!

merci!

Reply 0 0
MrFurious
yes that does work but there is a bit of a density falloff that isn't great...but workable.

thanks

Reply 0 0
MrFurious
cool, if you want to seed me with a beta when it's working, happy to test it out. :)  sounds perfect.

Reply 0 0
JeremyR
Yeah I ran into the same problem also if I remember correctly, scatter node doesnt work as expected on the 2d surface like a plane even with surface 'on'. That was a while back now.

Couldnt understand why it wouldnt work.
Reply 0 0
Reply