Blender Git Commit Log

Git Commits -> Revision 7c5a44c

Revision 7c5a44c by Sybren A. Stüvel (master)
February 14, 2020, 14:41 (GMT)
Alembic: refactor import and export of transformations

The Alembic importer now works with local coordinates. Previously, the
importer converted transformations from Alembic to world coordinates
before processing them further; this processing often included
re-converting to local coordinates. This change made it possible to
remove some code that assumed that a child transform was only read after
its parent transform.

Blender's Alembic code follows the Maya convention, where in the zero
orientation the camera looks forward instead of down. This extra
rotation is now handled more consistently, and now also properly handles
children of cameras. This fixes T73269.

Unit tests were added to at least ensure that the importer and exporter
are compatible with each other, and that static and animated camera
transforms are handled in the same way.

Commit Details:

Full Hash: 7c5a44c71f13ef00067f5c5951a275eb2eab2eef
Parent Commit: f457dc1
Lines Changed: +153, -54

7 Modified Paths:

/source/blender/alembic/intern/abc_object.cc (+24, -22) (Diff)
/source/blender/alembic/intern/abc_transform.cc (+11, -20) (Diff)
/source/blender/alembic/intern/abc_util.cc (+1, -9) (Diff)
/source/blender/alembic/intern/abc_util.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/constraint.c (+3, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+9, -0) (Diff)
/tests/python/bl_alembic_io_test.py (+102, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021