Blender Git Loki

Git Commits -> Revision 05c4982

November 19, 2021, 18:48 (GMT)
USD Preview Surface material import improvements.

Updates to address issues importing USD Preview Surface
materials in Animal Logic's ALab scene, as described in
T90535:

Added support for importing UDIM textures.

Added 'Material Name Collision' USD import menu option,
to specify the behavior when USD materials in different
namespaces have the same name. The options are

Modify: Create a unique name for the imported material.
Skip: Keep the existing material and discard the imported material.

Previously, the default behavior was Skip. This was causing an
issue in the Alab scene, where dozens of different USD materials
all have the same name 'usdpreviewsurface1', so that only one
instance of these materials would be imported.

Finally, if no materials with purpose "render" are assigned to
the USD primitive, the importer will now fall back on converting
assigned materials with purpose "preview".

Commit Details:

Full Hash: 05c4982f712be287b901713e6d8cfc0cbc208696
Parent Commit: 4c988eb
Lines Changed: +251, -23

5 Modified Paths:

/source/blender/editors/io/io_usd.c (+27, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_material.cc (+149, -0) (Diff)
/source/blender/io/usd/intern/usd_reader_mesh.cc (+62, -22) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.h (+7, -0) (Diff)
/source/blender/io/usd/usd.h (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021