Blender Git Loki

Git Commits -> Revision b3759cc

Revision b3759cc by Sybren A. Stüvel (master)
September 8, 2020, 14:41 (GMT)
Alembic Export: support instanced object data

Add support for object data instancing. This is used when the objects
are instances, for example when duplicated by a particle system, or
instanced by the duplication system (collection-duplicating empties,
vertex/face duplis, etc.)

Since Alembic already deduplicates data, this doesn't make the resulting
Alembic files any smaller. They will be faster to write, though, when
there is a lot of instanced geometry, as the deduplication system won't
have to do any comparisons.

This instancing support is still limited, in the sense that only object
data is instanced and all transforms are still written explicitly. A
future improvement could be to support instancing entire collection
hierarchies.

Blender's Alembic importer has no understanding of these Alembic
instances yet, and will thus happily duplicate the data on import.

The USD Alembic plugin seems to have problems understanding the
instancing. There might also be other software with similar issues.
Because of this, instancing can be turned off in the exporter (it's on
by default).

Commit Details:

Full Hash: b3759cc0d67eeb8cec55314d3304db0bc02168af
Parent Commit: 8f4f927
Lines Changed: +143, -1

2 Added Paths:

/source/blender/io/alembic/exporter/abc_writer_instance.cc (+74, -0) (View)
/source/blender/io/alembic/exporter/abc_writer_instance.h (+48, -0) (View)

4 Modified Paths:

/source/blender/editors/io/io_alembic.c (+9, -0) (Diff)
/source/blender/io/alembic/ABC_alembic.h (+1, -0) (Diff)
/source/blender/io/alembic/CMakeLists.txt (+2, -0) (Diff)
/source/blender/io/alembic/exporter/abc_hierarchy_iterator.cc (+9, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021