I am creating obj file using the attached code snippet.
But the mtl file getting created has having “newmtl diffuse_0” default name.
Can anyone tell me from where it is taking this name and how I can pass any specific name to “newmtl”?
I am creating obj file using the attached code snippet.
But the mtl file getting created has having “newmtl diffuse_0” default name.
Can anyone tell me from where it is taking this name and how I can pass any specific name to “newmtl”?