Blender Git Loki
Git Commits -> Revision 323335f
Revision 323335f by Jacques Lucke (geometry-nodes, geometry-nodes-deduplicate-float-math, geometry-nodes-distribute-points, geometry-nodes-mix-attributes, geometry-nodes-point-separate-node, temp-geometry-nodes-distribute-points-cleanup) November 20, 2020, 16:35 (GMT) |
Geometry Nodes: iterate on attributes api and improve random attribute node Attributes can now be accessed through a GeometryComponent. MeshComponent and PointCloudComponent implement the specific attribute access mechanisms using virtual methods. This simplifies code that should work on different geometry components quite a bit, because it only has to be written once without using templates. The Random Attribute node benefits from that a lot. |
Commit Details:
Full Hash: 323335f076fd29f80d91886810ea0a7827c339c3
Parent Commit: 70d493e
Lines Changed: +611, -291
7 Modified Paths:
/source/blender/blenkernel/BKE_attribute_access.hh (+2, -1) (Diff)
/source/blender/blenkernel/BKE_geometry_set.hh (+106, -43) (Diff)
/source/blender/blenkernel/intern/attribute_access.cc (+425, -182) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+10, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+3, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_random_attribute.cc (+60, -62) (Diff)
/source/blender/blenkernel/BKE_geometry_set.hh (+106, -43) (Diff)
/source/blender/blenkernel/intern/attribute_access.cc (+425, -182) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+10, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+3, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_random_attribute.cc (+60, -62) (Diff)