Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-23 | Fix T51534: Alembic: added support for face-varying vertex colours | Sybren A. Stüvel | |
Houdini writes vertex data in a different format than Blender does; Houdini uses "face-varying scope", which means that the vertex colours are indexed by an ever-increasing number over all vertices of all faces instead of the vertex index. I've also merged the read_custom_data_mcols() and read_mcols() functions, because the latter was only called from the former, and the changes in this commit would add yet more function parameters to pass. | |||
2017-05-23 | Alembic: reduced code duplication in read_mcols() | Sybren A. Stüvel | |
A big chunk of code was copied between the if and else bodies. By using a boolean to store whether the c3f_ptr or c4f_ptr should be used, the in-loop condition is kept as simple as possible. | |||
2017-05-23 | Alembic: split up read_custom_data_ex() into read_custom_data_{mcols,uvs}() | Sybren A. Stüvel | |
The read_custom_data_ex() function was basically two functions inside if/else bodies. | |||
2017-02-25 | Alembic: avoid crashing when reading non-indexed UV params. | Kévin Dietrich | |
2016-08-06 | Basic Alembic support | Kévin Dietrich | |
All in all, this patch adds an Alembic importer, an Alembic exporter, and a new CacheFile data block which, for now, wraps around an Alembic archive. This data block is made available through a new modifier ("Mesh Sequence Cache") as well as a new constraint ("Transform Cache") to somewhat properly support respectively geometric and transformation data streaming from alembic caches. A more in-depth documentation is to be found on the wiki, as well as a guide to compile alembic: https://wiki.blender.org/index.php/ User:Kevindietrich/AlembicBasicIo. Many thanks to everyone involved in this little project, and huge shout out to "cgstrive" for the thorough testings with Maya, 3ds Max, Houdini and Realflow as well as @fjuhec, @jensverwiebe and @jasperge for the custom builds and compile fixes. Reviewers: sergey, campbellbarton, mont29 Reviewed By: sergey, campbellbarton, mont29 Differential Revision: https://developer.blender.org/D2060 |