Blender Git Commit Log

Git Commits -> Revision 3db975f

Revision 3db975f by Hans Goudey (master)
January 7, 2021, 15:27 (GMT)
Fix T84326: No ID for geometry nodes instances after scattering

Instances are created with an "index" parameter used for persistence over
time through animation. Currently the geometry nodes instancer passes
the index in the array for this value, but the arrays created by the
"Point Distribution" node aren't necessarily stable in this way when
the input mesh is deformed. In D9832 we already mostly solved this
problem with an `id` attribute. The solution here is to create instances
with this attribute as well.

It's important to note that deforming the instanced points *after*
distribution will usually be a better solution for this problem. This
solution is likely still important though.

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

Commit Details:

Full Hash: 3db975f30dd327381dc1a0e08305460a1a12eba4
Parent Commit: 4c0fc60
Lines Changed: +43, -17

5 Modified Paths:

/source/blender/blenkernel/BKE_geometry_set.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_geometry_set.hh (+8, -3) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+19, -7) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+13, -6) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021