Blender Git Loki

Git Commits -> Revision c484b54

Revision c484b54 by Hans Goudey (master)
December 16, 2020, 18:33 (GMT)
Geometry Nodes: Boolean attribute type

This adds a boolean attribute and custom data type, to be used in the
point separate node. It also adds it as supported data types in the
random attribute and attribute fill nodes.

There are more clever ways of storing a boolean attribute that make
more sense in certain situations-- sets, bitfields, and others, this
commit keeps it simple, saving those changes for when there is a proper
use case for them. In any case, we will still probably always want the
idea of a boolean attribute.

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

Commit Details:

Full Hash: c484b54453e6072399dd79daccf237bb4bd73b41
Parent Commit: c06c5d6
Lines Changed: +77, -7

10 Modified Paths:

/source/blender/blenkernel/BKE_attribute_access.hh (+2, -0) (Diff)
/source/blender/blenkernel/intern/attribute_access.cc (+19, -2) (Diff)
/source/blender/blenkernel/intern/customdata.c (+16, -0) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+5, -3) (Diff)
/source/blender/makesrna/intern/rna_attribute.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+2, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_fill.cc (+11, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc (+15, -0) (Diff)
/source/blender/nodes/intern/node_tree_multi_function.cc (+4, -0) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021