diff options
author | Iyad Ahmed <iyadahmed2001> | 2022-09-19 18:13:55 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-19 18:14:08 +0300 |
commit | b6e26a410cd29f32da1e8112607a61f29c2863c4 (patch) | |
tree | 84e442d59e6e367e02961b17b79ab1d77ce7a509 /release/scripts | |
parent | 0e6a8df6df28fc785ad25aef91a4599865d156f0 (diff) |
Geometry Nodes: Distribute Points in Volume
This commit adds a node to distribute points inside of volume grids.
The "Random" mode usese OpenVDB's "point scatter" implementation, and
there is also a "Grid" mode for uniform distributions. Both methods
operate on all of the float grids in the volume, using every voxel with
a value higher than the threshold. The random method is not stable as
the input volume deforms.
Based on a patch by Angus Stanton (@abstanton), which was based on a
patch by Kenzie (@kenziemac130).
Differential Revision: https://developer.blender.org/D15375
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/nodeitems_builtins.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/nodeitems_builtins.py b/release/scripts/startup/nodeitems_builtins.py index 89b729595db..9c0635d7bd4 100644 --- a/release/scripts/startup/nodeitems_builtins.py +++ b/release/scripts/startup/nodeitems_builtins.py @@ -241,6 +241,7 @@ def point_node_items(context): space = context.space_data if not space: return + yield NodeItem("GeometryNodeDistributePointsInVolume") yield NodeItem("GeometryNodeDistributePointsOnFaces") yield NodeItem("GeometryNodePoints") yield NodeItem("GeometryNodePointsToVertices") |