Page 1 of 1

Stand Alone ...Scattering Mesh objects INSIDE a sphere

Posted: Thu Aug 15, 2024 2:44 pm
by p3taotoy
Stand Alone Question

Is there a way to scatter objects INSIDE another object. (In this case a sphere ... but could be anything)

I "thought" there used to be an offset slider in the scatter node that enabled you to put a minus value and turn the scatter in on itself but I cant find it (could be because it was in my imagination;>))

I tried translation offset random etc but did not get the desired effect.

Many thanks

Peter

Re: Stand Alone ...Scattering Mesh objects INSIDE a sphere

Posted: Thu Aug 15, 2024 4:28 pm
by skientia
Perhaps, inverted normals in a 3d modeling software, then exported as Alembic?

Re: Stand Alone ...Scattering Mesh objects INSIDE a sphere

Posted: Thu Aug 15, 2024 4:48 pm
by p3taotoy
Thanks

Tried the inverted normals but it puts the scattered objects on the inside surface of the sphere. Not offset into the middle of the sphere.
(My work around was to make several spheres of different sizes (getting smaller and smaller) rotate the and chaneg seed and duplication values of each surface scatter)

It worked but many steps to achieve something I hope is doable a different way within the standalone.

I can try the ABC but what might that achieve for the mesh?

Re: Stand Alone ...Scattering Mesh objects INSIDE a sphere

Posted: Thu Aug 15, 2024 6:18 pm
by jobigoud
You can use Scatter in volume node with Shape = Sphere.
scatter-in-volume.png
For more complex shapes you can use a Vectron object and plug it into a "Shape field" texture and plug that into the "Culling map" pin of the Scatter in volume.
Unfortunately at the moment this isn't compatible with the "Mesh volume SDF" node so you can't directly use a mesh to drive the culling field.

Re: Stand Alone ...Scattering Mesh objects INSIDE a sphere

Posted: Thu Aug 15, 2024 10:30 pm
by p3taotoy
many thanks
This is great
There seems to be a grid order to the scatter... I have tried translation offset min and max and that helped a bit but it does translate them out of the range a bit.

Is there a ratio of or formula in the Dimension and Offsets that somehow gets rid of that grid structure

Thanks

Peter