2DASL
2DASL copied to clipboard
Unable to generate mtl file with writeobjs.m
Hi @XgTu , Thanks for sharing the code.
I am able to successfully run the project however the obtained obj's are just white meshes. The material file for each obj is not getting generated.
-
In the writeobj.m function i am guessing options argument has to be called properly.
-
Should we write texture .jpg to the mtl file (i.e any connection between options.nm_file is texture jpg?) but in this project we are not writing generating any texture file.
Can you please tell me if i am wrong and how to create mtl files?
Thank you.
Hello, i have the same problem with you that the mtl file not generated, have you sloved it?
Besides, when i run the write_objs.m, the obj file i got seems weird like this, do you have the same problem?
@Moon-W please set x, y, z coordinates to the same scale.