Blender Git Loki

Git Commits -> Revision 348bd31

Revision 348bd31 by Hans Goudey (master)
December 10, 2020, 13:58 (GMT)
Geometry Nodes: Attribute Fill Node

This commit adds a node that fills every element of an attribute
with the same value. Currently it supports float, vector, and color
attributes. An immediate use case is for "billboard" scattering.

Currently people are using the same input to a Random Attribute node's
min and max input to fill every element of a vector with the same value,
which is an unintuitive way to accomplish the same thing.

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

Commit Details:

Full Hash: 348bd319d5a88f45410a22f8ce2f527d8da48ef0
Parent Commit: efb741b
Lines Changed: +178, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc (+130, -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.c (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+31, -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