Blender Git Commit Log

Git Commits -> Revision c75c08a

Revision c75c08a by Hans Goudey (master)
September 27, 2021, 16:16 (GMT)
Geometry Nodes: Distribute points once per instance reference

With this commit, the distribute points on faces node runs only
once for every unique mesh in its input. That means if there are
100 instances of the same mesh, it will only run once.

This basically reverts rB84a4f2ae68d408301. The optimization there
didn't end up being worth it in the end, since it complicates code
quite a lot. It's also incompatible with this method of dealing with
instances, and it breaks field evaluation for instances, where we would
have to make sure to handle each instance transform properly otherwise,
evaluating the field separately for every instance.

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

Commit Details:

Full Hash: c75c08a737c0737304bc7f6757152e4c99d4fe4d
Parent Commit: efa9667
Lines Changed: +173, -334

1 Modified Path:

/source/blender/nodes/geometry/nodes/node_geo_distribute_points_on_faces.cc (+173, -334) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021