Random Points
3D Generator - Random Points generated inside a volume (sphere, box or any other Smode primitive)
If you want to change the shape of this generator, you can select it either inside the Element Tree , directly in its parameters inside the Parameters Editor . To change the shape (position / orientation / size) select it in the element tree (red arrow):
Here is an example of a Random points generator with a box shape:
Here is a little comparison between this generator set as sphere and a Geosphere with a Random Points Modifier over it.
Here is a little example using this generator with volumetric light:
You can also use any 3D Generator with the Random Points to produce almost the same results (except that points will be scattered over a surface instead of a volume).This also makes possible to sample custom 3D File , which is not possible with Random points generator.
Variables:
- Seed: How the random generator gets initialised, each number produces a different randomness
- Count: Count of the random points
- Positions: A surface on which the random points will generate random points
Python
Oil.createObject("RandomPointsGeometryGenerator")