-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Support for .mtl
Files with Textures
#6924
Labels
Comments
SableRaf
changed the title
Support for
Support for Mar 24, 2024
.mtl
Files with Textures in p5.js.mtl
Files with Textures
For reference, here's how Processing parses .mtl files: |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Increasing access
This enhancement would make it easier for people to use pre-made 3D models within their p5.js projects. It would broaden the creative possibilities for artists and designers by enabling more detailed and textured 3D models within p5.js projects.
Most appropriate sub-area of p5.js?
Feature enhancement details
Since version 1.9.2, p5.js supports
.mtl
files, but only for vertex colors (see processing/p5.js#6710).This request aims to extend that support to include textures loaded by an
.mtl
file. Implementing this feature would involve creating a new data structure capable of handling both 3D models and their associated textures, potentially multiple per model.Example sketch with a single texture: https://aijs.io/editor?user=sableraph&project=multiTextureMaterial_test
The text was updated successfully, but these errors were encountered: