Blender Git Loki
Git Commits -> Revision 3c8131f
December 21, 2021, 13:24 (GMT) |
USD Export: USD Preview Surface conversion. Added "USD Preview Surface From Nodes" export option, to convert a Principled BSDF material node tree to an approximate USD Preview Surface shader representation. Also added the following options for texture export. Export Textures: If converting Preview Surface, export textures referenced by shader nodes to a 'textures' directory next to the USD file. Overwrite Textures: Allow overwriting existing texture files when exporting textures (this option is off by default). Relative Texture Paths: Save material texture asset paths as relative paths in the USD. |
Commit Details:
Full Hash: 3c8131fde31542149b46dcc675e4ef18db4913c4
Parent Commit: b7e151d
Lines Changed: +1108, -15
2 Added Paths:
/source/blender/io/usd/intern/usd_writer_material.cc (+934, -0) (View)
/source/blender/io/usd/intern/usd_writer_material.h (+53, -0) (View)
/source/blender/io/usd/intern/usd_writer_material.h (+53, -0) (View)
6 Modified Paths:
/source/blender/editors/io/io_usd.c (+56, -0) (Diff)
/source/blender/io/usd/CMakeLists.txt (+2, -0) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.cc (+55, -12) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.h (+2, -1) (Diff)
/source/blender/io/usd/intern/usd_writer_mesh.cc (+2, -2) (Diff)
/source/blender/io/usd/usd.h (+4, -0) (Diff)
/source/blender/io/usd/CMakeLists.txt (+2, -0) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.cc (+55, -12) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.h (+2, -1) (Diff)
/source/blender/io/usd/intern/usd_writer_mesh.cc (+2, -2) (Diff)
/source/blender/io/usd/usd.h (+4, -0) (Diff)