subnormio
Hi everyone,

i´m setting up a scatter tool based on the mesh2arrays node. The reason why i´m using it is because of the relax function, which is very useful for me.
The bad thing is that, if you want to define the areas for distribution you have to paint vertex colors. It requires a high density of polygons and you have to duplicate the mesh if you want to make a new distribution with other density areas.
Is there a way to mimmic the behaviour of the scatter node with its projection maps and uv maps in this mesh2arrays node? It would be very helpful.

Thank you in advance
Reply 0 0
pshipkov
You can do regular distribution with the scatter node too. Just set the point density to high enough value and the set the minpointtopoint attribute.
But mesh2arrays does not have texture based distribution capabilities.
Reply 0 0
subnormio
Thanks Peter,

it seems to work well with volume scattering, but it doesn´t work fine on surfaces...

As my scatter points are converted to particles i think i will refine my mesh2arrays distribution with a map and kill the particles based on a map...

Thank you again
Reply 0 0
pshipkov
Just wanted to confirm about the scatter node.
If i set pointDensity and maxNumberOfPoints to some high values and then set maxPointToPointDistance to something bigger than 0 then you will get uniform scatter like mesh2Arrays.
It is not completely uniform like the relaxer in mesh2Arrays but very close.
If you are not getting that, make sure you use the latest SOuP build.
Reply 0 0
subnormio
Don´t know if i am doing something wrong but i cannot get something close to the scatter relax. Maybe this is what you call the uniform scatter but is not enough for me :(
I want it to distribute patches of grass and i need them to be uniform to optimize the number.
I send you a sample scene with the two nodes so you can see the difference.

I also send you my work in a scatter tool if you are interested in taking a look. Maybe there are some bad workarounds. You must set a black map in each Map slot in the ScatterControl´s Extra Attributes to see how it works.

Thank you very much
Reply 0 0
pshipkov
Check the attached file.

Here is a screenshot
Screenshot.png 
Reply 0 0
subnormio
sorry Peter but i have the latest version installed and this is what appears when i open your scene...
capture.JPG 
Can´t imagine what´s wrong
Reply 0 0
pshipkov
Ahh, you are right.
Recently i fixed a bug on my side that prevented uniform scattering from working in surface mode. It is still not in the public build. Had to check my notes here.
Ok, will release new version in one of the next days.
Reply 0 0
subnormio
Glad to see that there´s a reason! :)

Thank you Peter, i´ll wait for that release like Christmas
Reply 0 0
Reply