secondlife / secondlife/viewer

GLTF Mesh Import: Option to automatically apply materials to mesh

Open
#4,204 6 comments 0 reactions 1 assignee View on GitHub

@marchcat is already working on this.

Since Jun 18, 2025.

  • #4271 by @marchcat — merged
  • #4273 by @marchcat — merged
  • #4278 by @marchcat — merged
  • #4279 by @marchcat — merged
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.