Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIyad Ahmed <iyadahmed2001>2022-09-19 18:13:55 +0300
committerHans Goudey <h.goudey@me.com>2022-09-19 18:14:08 +0300
commitb6e26a410cd29f32da1e8112607a61f29c2863c4 (patch)
tree84e442d59e6e367e02961b17b79ab1d77ce7a509 /source/blender/nodes/geometry/CMakeLists.txt
parent0e6a8df6df28fc785ad25aef91a4599865d156f0 (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 'source/blender/nodes/geometry/CMakeLists.txt')
-rw-r--r--source/blender/nodes/geometry/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/CMakeLists.txt b/source/blender/nodes/geometry/CMakeLists.txt
index 8e71bc8bbb8..ce285488109 100644
--- a/source/blender/nodes/geometry/CMakeLists.txt
+++ b/source/blender/nodes/geometry/CMakeLists.txt
@@ -59,6 +59,7 @@ set(SRC
nodes/node_geo_curve_trim.cc
nodes/node_geo_deform_curves_on_surface.cc
nodes/node_geo_delete_geometry.cc
+ nodes/node_geo_distribute_points_in_volume.cc
nodes/node_geo_distribute_points_on_faces.cc
nodes/node_geo_dual_mesh.cc
nodes/node_geo_duplicate_elements.cc