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/BKE_node.h | |
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/BKE_node.h')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index 7ec8000b6f9..59a1599e7ae 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1495,6 +1495,7 @@ struct TexResult; #define GEO_NODE_REMOVE_ATTRIBUTE 1158 #define GEO_NODE_INPUT_INSTANCE_ROTATION 1159 #define GEO_NODE_INPUT_INSTANCE_SCALE 1160 +#define GEO_NODE_VOLUME_CUBE 1161 /** \} */ |