Skip to content

GSOC 26: document multi-material and texture map support - #9068

Open
Nixxx19 wants to merge 2 commits into
processing:mainfrom
Nixxx19:mtl-docs
Open

GSOC 26: document multi-material and texture map support#9068
Nixxx19 wants to merge 2 commits into
processing:mainfrom
Nixxx19:mtl-docs

Conversation

@Nixxx19

@Nixxx19 Nixxx19 commented Aug 10, 2026

Copy link
Copy Markdown
Member

what

phase 7 docs. updates the jsdoc for loadModel(), model(), and buildGeometry() so the reference explains multi-material and texture-map support, which the docs didn't mention before.

  • loadModel(): expands the mtl note to say multi-material models are drawn per part, lists the texture maps a material can use (map_Kd, map_Ks, map_Ka, map_Ns, map_Bump), and documents the graceful fallback when a texture fails to load
  • model(): notes that the call is identical whether a model has one material or many, so a blender/sketchfab model shows up looking the way it was made
  • buildGeometry(): notes that switching texture/material mid-callback splits the result into parts, matching how a loaded multi-material model behaves, while a plain fill() change does not split

notes

part of the gsoc multi-material .mtl work, follows #8879, #8955, #9063, #9066, and #9067.

@p5-bot

p5-bot Bot commented Aug 10, 2026

Copy link
Copy Markdown

Continuous Release

CDN link

Published Packages

Commit hash: d7ce366

Previous deployments

b706bb0


This is an automated message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant