Blender Git Commit Log

Git Commits -> Revision 8ddfdfd

Revision 8ddfdfd by Hans Goudey (master)
October 26, 2021, 16:25 (GMT)
Geometry Nodes: Handle multiple grids in the volume to mesh node

In future use cases, a volume can contain many grids that represent the
density information. In this case, it's better if the volume to mesh node
creates a mesh based on all of the grids in the volume.

This is also a benefit to share-ability, since one doesn't have to
specify the grid name in the node. Instead, in the future we can have
a way to split particular grids into separate volumes, if only one
grid should be considered.

The code changes are relatively simple:
- Move the old volume to mesh node to the legacy folder.
- Run the volume to mesh node on all instance geometry, like elsewhere.
- Make the blenkernel's volume to mesh API a bit more specific.

Differential Revision: https://developer.blender.org/D12997

Commit Details:

Full Hash: 8ddfdfd2b2a52f746312246aa3099ab0df8544a0
Parent Commit: 7979dff
Lines Changed: +384, -77

1 Added Path:

/source/blender/nodes/geometry/nodes/legacy/node_geo_volume_to_mesh.cc (+173, -0) (View)

13 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_volume.h (+5, -0) (Diff)
/source/blender/blenkernel/BKE_volume_to_mesh.hh (+32, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/volume.cc (+17, -0) (Diff)
/source/blender/blenkernel/intern/volume_to_mesh.cc (+63, -30) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+1, -1) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+2, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+2, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_volume_to_mesh.cc (+83, -44) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021