Blender Git Loki

Git Commits -> Revision 5f74fc9

March 5, 2021, 20:53 (GMT)
USD Import: USD Preview conversion.

Added experimental Import USD Preview option to convert
UsdPreviewSurface shaders to Principled BSD shader networks,
for an approximate preview. Added new USDMaterialReader
class, which implements this feature. Also added a
Set Material Blend option to automatically set the material
blend method based on the UsdPreviewSurface shader's opacity
and opacityThreshold inputs. Finally, updated the logic so that
no materials will be imported if the Materials option is
not checked.

Commit Details:

Full Hash: 5f74fc980d486621c59a352fa68f8e646f434f85
Parent Commit: 92ed7f3
Lines Changed: +772, -21

2 Added Paths:

/source/blender/io/usd/intern/usd_reader_material.cc (+577, -0) (View)
/source/blender/io/usd/intern/usd_reader_material.h (+109, -0) (View)

5 Modified Paths:

/source/blender/editors/io/io_usd.c (+22, -0) (Diff)
/source/blender/io/usd/CMakeLists.txt (+2, -0) (Diff)
/source/blender/io/usd/intern/usd_reader_mesh.cc (+59, -20) (Diff)
/source/blender/io/usd/intern/usd_reader_mesh.h (+1, -1) (Diff)
/source/blender/io/usd/usd.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021