Blender Git Loki

Git Commits -> Revision df2a19e

Revision df2a19e by Henrik Dick (master)
June 9, 2021, 16:58 (GMT)
Geometry Nodes: Add Convex Hull Node

This commit adds a node to output the convex hull of any input geometry
as a mesh, which is an enclosing geometry around a set of points.
All geometry types are supported, besides volumes.

The code supports operating on instances to avoid copying all input
geometry before the operation. The implementation uses the same backend
as the operation in edit mode, but uses Mesh directly instead of BMesh.

Attribute transfer is not supported currently, but would be a point of
improvement for the future if it can work in a predictable way on
different geometry input types.

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

Commit Details:

Full Hash: df2a19eac7daf4943b22f74890cebd14eb811f4e
Parent Commit: 2856f3b
Committed By: Hans Goudey
Lines Changed: +380, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_convex_hull.cc (+321, -0) (View)

8 Modified Paths:

/intern/rigidbody/RBI_hull_api.h (+4, -0) (Diff)
/intern/rigidbody/rb_convex_hull_api.cpp (+32, -0) (Diff)
/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 (+18, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021