Hi there,
I wanted to bring up an issue I’ve been having with Rhino version 8.12.24261.130001. When I export OBJ mesh files, the .mtl files that are generated don’t have the correct material names. This has been a bit of a hassle when I try to import these files into other software for further processing or rendering.
I’ve attached an example file to show what’s happening. If anyone has any insights or suggestions on how to fix this, I’d really appreciate it.
Export-OBJ-materials-bug.3dm (126.3 KB)
This is the exported .mtl file:
8.12.24261.130001.zip (1.3 KB)
# Rhino
newmtl Default
Ka 0.0000 0.0000 0.0000
Kd 0.0000 0.0000 1.0000
Ks 0.8000 0.8000 0.8000
Tf 1.0000 1.0000 1.0000
d 1.0000
Ns 204.0000
Ni 1.5200
This is the expected result (exported with version 8.8.24149.15001):
8.8.24149.15001.zip (1.3 KB)
# Rhino
newmtl Blue
Ka 0.0000 0.0000 0.0000
Kd 0.0000 0.0000 1.0000
Ks 0.8000 0.8000 0.8000
Tf 0.0000 0.0000 0.0000
d 1.0000
Ns 204.0000
newmtl Green
Ka 0.0000 0.0000 0.0000
Kd 0.0000 1.0000 0.0000
Ks 0.8000 0.8000 0.8000
Tf 0.0000 0.0000 0.0000
d 1.0000
Ns 204.0000
newmtl Red
Ka 0.0000 0.0000 0.0000
Kd 1.0000 0.0000 0.0000
Ks 0.8000 0.8000 0.8000
Tf 0.0000 0.0000 0.0000
d 1.0000
Ns 204.0000
Thanks for your help!