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
As mentioned in #53, material files may not have the same name. Moreover, in my case, I don't have any .mtl files paired to my obj. files. I just want to use the parser to import vertexes, normals, and faces to my script.
Solution:
Make a keyword argument that takes file path for .mtl files. Also add a secondary keyword argument that is a bool for skipping material import. Use a default material (grey?) for rendering if material skip is set to True.
The text was updated successfully, but these errors were encountered:
caniko
changed the title
Make material import optional
Feature request: Make material import optional
Mar 11, 2021
If you just want to use the parser to import vertexes, normals, and faces you can use the create_materials=True parameter so everything will use a default materal instead? (assuming you have no mtl files)
As mentioned in #53, material files may not have the same name. Moreover, in my case, I don't have any
.mtl
files paired to my obj. files. I just want to use the parser to import vertexes, normals, and faces to my script.Solution:
Make a keyword argument that takes file path for
.mtl
files. Also add a secondary keyword argument that is a bool for skipping material import. Use a default material (grey?) for rendering if material skip is set to True.The text was updated successfully, but these errors were encountered: