http://www.miikahweb.com/feed.php MiikaHweb - Blender Temp-io-alembic-changes-up-to-D7672 Branch http://www.miikahweb.com/ MiikaHweb - Blender Temp-io-alembic-changes-up-to-D7672 Branch fi Mon, 18 Jan 21 03:50:49 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[27236bc]: IO: Allow exporting a subset of the writers]]> http://www.miikahweb.com/en/blender/git-logs/commit/27236bc5d8026119570af422f16981625657fafe 27236bc
Branches : temp-io-alembic-changes-up-to-D7672
Author : Sybren A. Stüvel (sybren)
----------------------------------------
IO: Allow exporting a subset of the writers

This is in order to prepare for compatibility with the Alembic exporter. That exporter is capable of writing object transforms and object data at different (sub)frames.

The rename from `created_writers` to `used_writers` is necessary, as not all created writers will be actually used in each iteration.

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

----------------------------------------
3 Paths Changed]]>
Fri, 08 May 2020 15:32:45 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/27236bc5d8026119570af422f16981625657fafeSybren A. Stüvel
<![CDATA[[301f648]: Alembic: export object data with object data name]]> http://www.miikahweb.com/en/blender/git-logs/commit/301f648f3a92da450d086608d4672cea229f99ca 301f648
Branches : temp-io-alembic-changes-up-to-D7672
Author : Sybren A. Stüvel (sybren)
----------------------------------------
Alembic: export object data with object data name

The old exporter always exported a mesh object to `{object.name}/{object.name}Shape`. Now it exports to `{object.name}/{mesh.name}` instead. The same change also applies to other object data types.

Note that the code now is a bit hackish, as `m_name` is set even in cases where it isn't used. This hackishness was already there, though, but it's now just more visible. This will all be cleaned up when the Alembic exporter is ported to use the `AbstractHierarchyImporter` structure of USD.

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

----------------------------------------
2 Paths Changed]]>
Fri, 08 May 2020 15:43:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/301f648f3a92da450d086608d4672cea229f99caSybren A. Stüvel
<![CDATA[[a88d6f8]: Remove unnecessary include directories from CMakeLists.txt]]> http://www.miikahweb.com/en/blender/git-logs/commit/a88d6f8ee15f94abb5bb9d52da8e79c6e74904c6 a88d6f8
Branches : temp-io-alembic-changes-up-to-D7672
Author : Sybren A. Stüvel (sybren)
----------------------------------------
Remove unnecessary include directories from CMakeLists.txt

----------------------------------------
1 Path Changed]]>
Fri, 08 May 2020 15:28:53 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a88d6f8ee15f94abb5bb9d52da8e79c6e74904c6Sybren A. Stüvel
<![CDATA[[cedefe4]: IO: ensure export path and export name are always consistent]]> http://www.miikahweb.com/en/blender/git-logs/commit/cedefe4ad9b03f18431d478ae8adbda66ee778a4 cedefe4
Branches : temp-io-alembic-changes-up-to-D7672
Author : Sybren A. Stüvel (sybren)
----------------------------------------
IO: ensure export path and export name are always consistent

Before this, there was one code path that set `context.export_path`,
and a different code path for `context.export_name`, allowing the two to
diverge.

Keeping track of the export path of the export parent (which can be but is
not always the Blender parent object) also allows a concrete subclass of
`AbstractHierarchyIterator` to find the `AbstractWriter` for the export
parent. In case of exporting to Alembic this is important, as it's not
possible to simply give the Alembic library the full export path of an
object (it needs the C++ object of the parent).

----------------------------------------
2 Paths Changed]]>
Fri, 08 May 2020 15:35:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/cedefe4ad9b03f18431d478ae8adbda66ee778a4Sybren A. Stüvel
<![CDATA[[ddc62da]: IO: Move Abstract Hierarchy Iterator into `io/common`]]> http://www.miikahweb.com/en/blender/git-logs/commit/ddc62da090784da41c7d0c62ae82987127e1c64a ddc62da
Branches : temp-io-alembic-changes-up-to-D7672
Author : Sybren A. Stüvel (sybren)
----------------------------------------
IO: Move Abstract Hierarchy Iterator into `io/common`

The goal of the `AbstractHierarchyIterator` class (and supporting classes) was to use it in different exporters. It shouldn't be part of the USD module + namespace any more.

The source files are moved into `io/common`, which is compiled & linked into a new library `bf_io_common`. The unittests are still inside the `tests/gtests/usd` directory. They should be moved to a separate test module too, but that will be delayed until after T73268 has been resolved.

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

----------------------------------------
13 Paths Changed]]>
Fri, 08 May 2020 15:28:53 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ddc62da090784da41c7d0c62ae82987127e1c64aSybren A. Stüvel