Blender Git Commit Log

Git Commits -> Revision 108f328

Revision 108f328 by Sybren A. Stüvel (master)
August 17, 2020, 15:56 (GMT)
USD: Allow exporting of invisible objects

The fix for T75936 made it possible to export invisible objects to
Alembic. This commit applies the same approach to the USD exporter.

The USD and Alembic code is slightly different in terms of where in the
exported file the visibility attribute is stored. In USD the visibility
is used to prune the scene graph, and thus there are only two options:
"hidden" and "inherited". Setting the visiblity of a node in the scene
graph to "hidden" immediately hides all its children. To allow hidden
parents with visible children, the visibility is stored on the object
data (so the geometry/camera/lamp/etc) instead.

Commit Details:

Full Hash: 108f3284a7311068e3bb7742f813b4612c70dd03
Parent Commit: 271361e
Lines Changed: +43, -2

6 Modified Paths:

/source/blender/editors/io/io_usd.c (+10, -0) (Diff)
/source/blender/io/usd/intern/usd_capi.cc (+6, -1) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.cc (+14, -0) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.h (+4, -0) (Diff)
/source/blender/io/usd/intern/usd_writer_mesh.cc (+8, -1) (Diff)
/source/blender/io/usd/usd.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021