Blender Git Loki

Git Commits -> Revision a836ded

Revision a836ded by Johnny Matthews (master)
December 29, 2021, 16:25 (GMT)
Geometry Nodes: Accumulate Fields Node

This function node creates a running total of a given Vector, Float, or
Int field.

Inputs:
- Value: The field to be accumulated
- Group Index: The values of this input are used to aggregate the input
into separate 'bins', creating multiple accumulations.
Outputs:
- Leading and Trailing: Returns the running totals starting
at either the first value of each accumulations or 0 respectively.
- Total: Returns the total accumulation at all positions of the field.

There's currently plenty of duplicate work happening when multiple outputs
are used that could be optimized by a future refactor to field inputs.

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

Commit Details:

Full Hash: a836ded9902d67359ea94a03c45de7edd4f826fb
Parent Commit: 279085e
Lines Changed: +490, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_accumulate_field.cc (+431, -0) (View)

9 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/blenlib/BLI_hash.hh (+10, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+36, -0) (Diff)
/source/blender/nodes/geometry/CMakeLists.txt (+1, -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