Blender Git Loki

Git Commits -> Revision 05f3f11

Revision 05f3f11 by Victor-Louis De Gusseme (master)
September 20, 2021, 23:39 (GMT)
Geometry Nodes: Attribute Statistic Node

This nodes evaluates a field on a geometry and outputs various
statistics about the entire data set, like min, max, or even
the standard deviation. It works for float and vector types currently,
though more types could be supported in the future.

- All statistics are calculated element-wise for vectors.
- "Product" was not added since the result could very easily overflow.
- The "Size" output was not added since it isn't specific to an
attribute and would fit better in another node.

The implementation shares work as much as possible when multiple
statistics are needed.

This node has been in development since the beginning of this year,
with additions from Johnny Matthews and Hans Goudey.

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

Commit Details:

Full Hash: 05f3f11d553e97f27fc88b1dada9387acdb768a6
Parent Commit: 13a4bcc
Committed By: Hans Goudey
Lines Changed: +433, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_attribute_statistic.cc (+378, -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/blenlib/BLI_array.hh (+15, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+34, -0) (Diff)
/source/blender/nodes/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