Skip to content

Conversation

lukemckinstry
Copy link
Contributor

@lukemckinstry lukemckinstry commented Mar 18, 2025

Description

Early draft PR with a simple prototype of static instancing. The approach here so far was to add an instances field to Model.fromGltfAsync() which accepts an array of modelMatrices. The implementation makes use of the existing classes used to support instancing from glTF with the ext_mesh_gpu_instancing extension and i3dm. The prototype is limited to static instancing (which is what the classes behind the current glTF and i3dm instancing support) and does not get into dynamic instancing.

Sandcastle

Screenshot from 2025-03-14 15-55-03

Issue number and link

#10846

Testing plan

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have updated the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code

Copy link

Thank you for the pull request, @lukemckinstry!

✅ We can confirm we have a CLA on file for you.

@lukemckinstry
Copy link
Contributor Author

Closing in favor of #12588

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