Stand Alone ...Scattering Mesh objects INSIDE a sphere

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
p3taotoy
Licensed Customer
Posts: 190
Joined: Sat Nov 24, 2018 1:06 am
Location: Washinghton, USA and Waikanae, New Zealand
Contact:

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
skientia
Licensed Customer
Posts: 248
Joined: Tue Mar 12, 2024 1:50 am
Contact:

Perhaps, inverted normals in a 3d modeling software, then exported as Alembic?
p3taotoy
Licensed Customer
Posts: 190
Joined: Sat Nov 24, 2018 1:06 am
Location: Washinghton, USA and Waikanae, New Zealand
Contact:

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?
User avatar
jobigoud
OctaneRender Team
Posts: 247
Joined: Sat Aug 15, 2015 1:28 pm

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.
p3taotoy
Licensed Customer
Posts: 190
Joined: Sat Nov 24, 2018 1:06 am
Location: Washinghton, USA and Waikanae, New Zealand
Contact:

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
Post Reply

Return to “General Discussion”