Blender Git Commit Log

Git Commits -> Revision 52c6d36

November 23, 2020, 22:01 (GMT)
Geometry Nodes: Initial implementation for attribute math node

This provide a simple implementation for basic math operations. Add,
subtract, multiple, and divide are implemented so far. Domain
interpolation is not implemented yet either.

This commit also adds two "Type" options to the node for choosing
explicitly whether to use an attribute or a float value as one of the
inputs. It is not possible to use two floats as inputs, because that
would be a regular math node.

Some cleanup to avoid some code duplication will come in a future
commit.

Commit Details:

Full Hash: 52c6d36e4e8c034f194291c7e398084134feb26c
Parent Commit: 75a92d4
Lines Changed: +277, -6

4 Modified Paths:

/source/blender/editors/space_node/drawnode.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+28, -4) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_math.cc (+242, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021