Blender Git Commit Log

Git Commits -> Revision e0a1a2f

Revision e0a1a2f by Hans Goudey (master)
April 6, 2021, 21:02 (GMT)
Geometry Nodes: Bounding Box Node

This commit adds a simple node to output the min and max of an
axis-aligned bounding box for the input geometry, as well a rectangular
prism mesh created from these values for convenience.

The initial use case for this node is a "bounding box boolean", where
doing the boolean with just a bounding box could be signigicantly
faster, for cases like cutting a hole in a wall for a window. But it's
easy to imagine other cases where it could be useful.

This node supports mesh and point cloud data right now, volume support
will come as a separate patch. Also note that there is plenty of room
to improve the performance of this node through parallelization.

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

Commit Details:

Full Hash: e0a1a2f49dab57d3e58372a38441b7d49c6e0fe1
Parent Commit: 9311418
Lines Changed: +130, -1

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_bounding_box.cc (+121, -0) (View)

8 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+2, -0) (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