-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
.obj models not displaying materials #7346
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you! |
I’m interested in working on this issue. Could you please assign it to me ? |
Hmm I can't seem to reproduce this, it correctly uses |
Hi @davepagurek , please look at this : https://editor.p5js.org/iamnikhilranjan/sketches/VS_AjO6FD It seems loadStrings() is expecting a callback function as its third parameter but is instead receiving an empty variable, possibly due to a scope issue. I'm looking into the code to fix this rendering issue. Any guidance you could offer would be really helpful. Thank you! |
I believe that's a separate issue from the one described here, where we're trying to validate parameters on functions that are called internally by other p5 functions. We're going to address that separately using the technique described in the comments on #6597. |
@iamnikhilranjan I think your sketch isn't loading because the .obj file isn't present in the files for the sketch. Here's a zip of the one I was using to test with, you can try extracting the .obj from here and then uploading it to your sketch's files: |
Most appropriate sub-area of p5.js?
p5.js version
1.11.0
Web browser and version
130.0.6723.70
Operating system
mac os 14.7
Steps to reproduce this
Steps:
Snippet:
The text was updated successfully, but these errors were encountered: