-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Associated MTL files should be optional #30
Comments
You're right, they should be. Which loading path are you using (from file or memory)? I must have got a bug in there that's making them required |
Hi! From file. I note that I also note that I only post this via the understanding this is aiming to be a close-match to the way that lib functions. Feel free to disregard if there's a better way/this is not in line with another goal-- I just got surprised by a break. |
Cool, I'll take a look when I get some time (likely a week or so from now). Falling back to a default material if the MTL file isn't found is also the behavior I'd like, it's pretty common to not have one if you're just viewing some meshes for testing |
A bit longer than a few weeks, but let me know what you think of 8754343 . I'm not a fan of failing silently if we fail to load something, so what I've done instead of generating a default is to split the |
Now in 3.0.0 |
A bit late on my response also. :) This works for me; I like your approach more than the way the C++ lib works here-- more control + more obvious. Thank you for taking the time to get to this. |
To bring parity with
tinyobjloader
, Blender, etc.The text was updated successfully, but these errors were encountered: