Spread inside of a sphere

Hello ! i m wondering how i could have a gaussian spread of 3d points located inside of a sphere.

the spherical spread doesnt allow to fill inside f it points.
should i detect if its inside the volume ? or is there a spread generator already existing ?

cheers

you can use = (Value) and and (Spectral) then select only ones inside

hello antokhio nice to read you. hum, any sample patch ?

Spherical Volume.v4p (363.6 KB)

ait almost right first time… but you have to do equal length instead of and spectral, = (Value) & And (Spectral) will give you cube volume…

uch a lot missing nodes, sprite, rasterze etc???

positions inside a sphere = radius < of the sphere
normalize gives you the lenght of the vector, hence the radius from 0|0|0

so gaussianspread -> normalize -> length < radius -> select from gaussian spread

see attached

InsideSqhere.v4p (7.1 KB)

2 Likes

Merci Woei ! thats it, simple as usual… i was buguing on normalize

DX11 nodes
You don’t need normalization cause equal node epsilon is exactly a sphere…

not working in dx11, only dx9 because of little computer gfx

anyway, thanks a lot !!!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.