diff options
author | Chris Clyne <lateasusual> | 2022-06-17 14:26:22 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-06-17 14:30:44 +0300 |
commit | 838c4a97f1d6b993f4c866c474eb02d929f0ca1d (patch) | |
tree | 9b6a23c607c32acbdff09da3773851f58eabf5de /source/blender/blenkernel/intern | |
parent | 75489b5887cd270b8076046606baf6daeba3d259 (diff) |
Geometry Nodes: new Volume Cube node
This commit adds a Volume Cube primitive node. It outputs a volume that
contains a single "density" float grid. The density per voxel can be
controlled with a field that depends on the voxel position (using the
existing Position node). Other field inputs are not supported.
The density field is evaluated on every voxel.
Possible future improvements are listed in D15198.
Differential Revision: https://developer.blender.org/D15198
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/node.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc index 1ffc4a56a0e..e02d3b6486c 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -4836,6 +4836,7 @@ static void registerGeometryNodes() register_node_type_geo_translate_instances(); register_node_type_geo_triangulate(); register_node_type_geo_viewer(); + register_node_type_geo_volume_cube(); register_node_type_geo_volume_to_mesh(); } |