NVlabs / nvdiffrec

Official code for the CVPR 2022 (oral) paper "Extracting Triangular 3D Models, Materials, and Lighting From Images".
Other
2.09k stars 222 forks source link

Capitalized reference to texture map in output .mtl #47

Closed Mazchoo closed 1 year ago

Mazchoo commented 2 years ago

The 3D object viewer on windows expects this.

jmunkberg commented 1 year ago

Thanks @Mazchoo !

Our mlt file is non-standard, as we use the bsdf and bump tags, and store roughness and metalness in the ks texture. Regardless, the diffuse albedo (kd) texture should show up properly with this change, so worth adding!