secondlife / secondlife/viewer
GLTF Mesh Import: Option to automatically apply materials to mesh
Open
@marchcat is already working on this.
Since Jun 18, 2025.
enhancement
gltf_import
stale
triage
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
Add the ability to or an option upon upload to automatically apply materials to a mesh.
For a large mesh with many materials, it is unfeasible for a user to apply each material one by one.
Test Plan
This model includes 167 separate materials: https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/main/Models/VirtualCity/glTF-Binary/VirtualCity.glb
Verify that the materials apply automatically either upon upload or via a separate option depending on feature design.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.