Blender Git Commit Log

Git Commits -> Revision 9fa304b

Revision 9fa304b by Hans Goudey (master)
October 26, 2021, 17:50 (GMT)
Geometry Nodes: Only create instance IDs when they exist

Instance IDs serve no purpose for rendering when they aren't stable from
one frame to the next, and if the index is used in the end anyway, there
is no point in storing a vector of IDs and copying it around.

This commit exposes the `id` attribute on the instances component,
makes it optional-- only generated by default with the distribute points
on faces node.

Since the string to curves node only added the index as each instance's
ID, I removed it. This means that it would be necessary to add the ID
data manually if the initial index actually helps (when deleting only
certain characters, for example).

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

Commit Details:

Full Hash: 9fa304bf13e402405351a2c9bc14903c08b557e5
Parent Commit: b6d2bee
Lines Changed: +151, -34

9 Modified Paths:

/source/blender/blenkernel/BKE_geometry_set.hh (+7, -2) (Diff)
/source/blender/blenkernel/intern/geometry_component_instances.cc (+108, -9) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc (+10, -8) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+4, -0) (Diff)
/source/blender/nodes/geometry/nodes/legacy/node_geo_point_instance.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_instances_to_points.cc (+8, -6) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_instance_on_points.cc (+11, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc (+2, -3) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc (+0, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021