Blender Git Commit Log

Git Commits -> Revision 4e24789

Revision 4e24789 by Cody Winchester (master)
November 9, 2021, 09:54 (GMT)
Alembic: Allow exporting of animated vertex colors

Allow exporting of animated vertex colors to Alembic.

The changes are made to be in line with the way the UV Maps are written.
Each vertex color gets a OC4fGeomParam created and mapped into the
CDStreamConfig to avoid recreating the Param on each frame.

The time sample index is also stored in the config now and set onto the
UV and Vertex Color params each frame. Without this the exports would
get inconsistent timing results where animated UV maps and Vertex Colors
were not playing back at the original speed.

Reviewed By: sybren

Maniphest Tasks: T88074

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

Commit Details:

Full Hash: 4e2478940eb8803f28bfd7361ea3ff7dd83cd247
Parent Commit: 6b0a6c2
Committed By: Sybren A. Stüvel
Lines Changed: +42, -16

3 Modified Paths:

/source/blender/io/alembic/exporter/abc_writer_mesh.cc (+2, -1) (Diff)
/source/blender/io/alembic/intern/abc_customdata.cc (+36, -15) (Diff)
/source/blender/io/alembic/intern/abc_customdata.h (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021