Skip to content
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

Add @mml-io/model-loader #163

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Add @mml-io/model-loader #163

merged 1 commit into from
Apr 24, 2024

Conversation

MarcusLongmuir
Copy link
Collaborator

@MarcusLongmuir MarcusLongmuir commented Apr 24, 2024

This PR adds a new package, @mml-io/model-loader, that exposes a ModelLoader class that can:

  • Load gTLF, GLB, and FBX
  • Load from URL
  • Load from a buffer
  • Load DRACO-compressed gLTF

Exposing this class as a package enables reuse of the model loading capability currently used in the MML library (most crucially DRACO without having to load the web assembly files remotely).


What kind of changes does your PR introduce? (check at least one)

  • Feature

Does your PR introduce a breaking change? (check one)

  • No

Does your PR fulfill the following requirements?

  • All tests are passing

@MarcusLongmuir MarcusLongmuir changed the title create @mml-io/model-loader Add @mml-io/model-loader Apr 24, 2024
@MarcusLongmuir MarcusLongmuir merged commit 1194038 into main Apr 24, 2024
8 checks passed
@MarcusLongmuir MarcusLongmuir deleted the feature/model-loader branch April 24, 2024 17:51
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.

2 participants