Blender Git Commit Log

Git Commits -> Revision 4599cea

Revision 4599cea by Jacques Lucke (master)
May 4, 2021, 08:16 (GMT)
Geometry Nodes: refactor instances component

The main goal of this refactor is to not store Object/Collection
pointers for every individual instance. Instead instances now
store a handle for the referenced data. The actual Object/Collection
pointers are stored in a new `InstanceReference` class.

This refactor also allows for some better optimizations further down
the line, because one does not have to search through all instances
anymore to find what data is instanced.

Furthermore, this refactor makes it easier to support instancing
`GeometrySet` or any other data that has to be owned by the
`InstancesComponent`.

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

Commit Details:

Full Hash: 4599cea15dcf7563bfbcb8be148ef5f89cf2dddd
Parent Commit: e6bf272
Lines Changed: +268, -167

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021