Blender Git Loki

Git Commits -> Revision c5514d3

Revision c5514d3 by Fabian Schempp (master)
February 3, 2021, 17:03 (GMT)
Geometry Nodes: Multi-Input Sockets

Normally sockets only have one input link. This commit adds the back-end
changes needed to use multiple input links per socket.

Multi-input sockets can be defined with a new flag in `bNodeSocketType`.
The changes necessary to make the sockets work in the geometry nodes
evaluator are generalizing input socket values as a vector of values,
and supporting this in the derived node tree structure.

This patch should contain no functional changes. Two upcoming patches
will use this system for the "Join Geometry" node and expose link picking
and updated display in the UI: D10069 and D10181.

Reviewed By: Jacques Lucke, Hans Goudey

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

Commit Details:

Full Hash: c5514d3a2a03242ddc43f83be4bb72df7f85469f
Parent Commit: 894cc9c
Committed By: Hans Goudey
Lines Changed: +159, -52

9 Modified Paths:

/source/blender/blenkernel/intern/node.cc (+3, -0) (Diff)
/source/blender/editors/space_node/node_intern.h (+1, -0) (Diff)
/source/blender/editors/space_node/node_relationships.c (+47, -17) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -0) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+64, -23) (Diff)
/source/blender/nodes/intern/derived_node_tree.cc (+1, -1) (Diff)
/source/blender/nodes/intern/node_util.c (+15, -11) (Diff)
/source/blender/nodes/NOD_derived_node_tree.hh (+7, -0) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+19, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021