Blender Git Commit Log

Git Commits -> Revision 60090d6

Revision 60090d6 by Sybren A. Stüvel (sybren-usd)
June 27, 2019, 14:45 (GMT)
USD: support for simple preview materials

Very simple versions of the materials are now exported, using only the
viewport diffuse RGB, metallic, and roughness.

When there are multiple materials, the mesh faces are stored as geometry
subset and each material is assigned to the appropriate subset. If there
is only one material this is skipped.

The first material if any) is always applied to the mesh itself
(regardless of the existence of geometry subsets), because the Hydra
viewport doesn't support materials on subsets. See
https://github.com/PixarAnimationStudios/USD/issues/542 for more info.

Note that the geometry subsets are not yet time-sampled, so it will
break when an animated mesh changes topology.

Commit Details:

Full Hash: 60090d61eadb7daadf10f12c3387b2c118499736
Parent Commit: 1294eb4
Lines Changed: +88, -7

6 Modified Paths:

/source/blender/usd/intern/abstract_hierarchy_iterator.h (+2, -1) (Diff)
/source/blender/usd/intern/usd_hierarchy_iterator.h (+2, -1) (Diff)
/source/blender/usd/intern/usd_writer_abstract.cc (+30, -0) (Diff)
/source/blender/usd/intern/usd_writer_abstract.h (+9, -2) (Diff)
/source/blender/usd/intern/usd_writer_mesh.cc (+44, -2) (Diff)
/source/blender/usd/intern/usd_writer_mesh.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021