Blender Git Commit Log

Git Commits -> Revision fec16d4

March 28, 2021, 22:15 (GMT)
Progress towards making material output the same as the python exporter.

The python exporter was stricter about what Principled BSDF node it
would use -- it only wanted one directly attached to the Material Output.
Also, the Python exporter sets the ambient to (1,1,1) if no reflections.
And there was a mistake in how the C++ exporter set the illumination model.

Also printed out the components in the same order as the python one,
for easier comparison.

Commit Details:

Full Hash: fec16d4a8b7cfc140a0be19d0c3a1f248f514ceb
Parent Commit: ccc97b6
Lines Changed: +83, -37

4 Modified Paths:

/source/blender/io/wavefront_obj/exporter/obj_exporter.cc (+4, -1) (Diff)
/source/blender/io/wavefront_obj/exporter/obj_export_file_writer.cc (+4, -3) (Diff)
/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc (+1, -1) (Diff)
/source/blender/io/wavefront_obj/exporter/obj_export_mtl.cc (+74, -32) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021