You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the .mtl file is missing, the loader Warns and uses a default material. That is all good - however, it would be nice if the default material got the name that is specified in the usemtl line in the obj-file.
In my application I load obj files, and assign them materials based on a completely different physical representation, meaning the .mtl file does not make much sense. But I would still want to be able to read the material names, and map them to my specialized materials.
Currently I achieve this by creating dummy .mtl files, but it would be nice to not have to do that.
If there is an easier way already, please point me in the right direction, thanks!
The text was updated successfully, but these errors were encountered:
When the .mtl file is missing, the loader Warns and uses a default material. That is all good - however, it would be nice if the default material got the name that is specified in the usemtl line in the obj-file.
In my application I load obj files, and assign them materials based on a completely different physical representation, meaning the .mtl file does not make much sense. But I would still want to be able to read the material names, and map them to my specialized materials.
Currently I achieve this by creating dummy .mtl files, but it would be nice to not have to do that.
If there is an easier way already, please point me in the right direction, thanks!
The text was updated successfully, but these errors were encountered: