Blender Git Loki

Git Commits -> Revision ca4de4f

October 7, 2021, 09:38 (GMT)
Geometry Nodes: Separate + Delete Geometry for fields

Delete Geometry:
This adds a copy of the old node in the legacy folder and updates the node to
work with fields. The invert option is removed, because it something that should
be very easy with fields, and to be consistent with other nodes which have a
selection. There is also a dropdown to select the domain, because the domain
can't be determined from the field input. When the domain does not belong on
any of the components an info message is displayed.

{F10416062}

Separate Geometry:
A more general version of the old Point Separate node. The "inverted" output is the
same as using the delete geometry node.

{F10518721}

Possible things to change:
- The name of the outputs of the Separate Geometry node
- Add option for "smooth" {D10979} . This is probably best for a dedicated node since it only applies to meshes.

Reviewed By: JacquesLucke

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

Commit Details:

Full Hash: ca4de4ff77cef415d0a0861b41742f1b48def774
Parent Commit: e5531dc
Committed By: Dalai Felinto
Lines Changed: +1423, -1

2 Added Paths:

/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc (+1213, -0) (View)
/source/blender/nodes/geometry/nodes/node_geo_separate_geometry.cc (+120, -0) (View)

12 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+2, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+18, -0) (Diff)
/source/blender/makesrna/intern/rna_attribute.c (+8, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+38, -0) (Diff)
/source/blender/makesrna/RNA_enum_items.h (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+2, -0) (Diff)
/source/blender/nodes/geometry/nodes/legacy/node_geo_delete_geometry.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+11, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+2, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021