https://github.com/kylebakerio/gltf-packed
aframe component that allow easy use of gltf/glb models that were packed with gltfpack (meshoptimizer) and/or KTX2 textures.
https://github.com/kylebakerio/gltf-packed
aframe gltf gltfpacked meshoptimizer
Last synced: 4 months ago
JSON representation
aframe component that allow easy use of gltf/glb models that were packed with gltfpack (meshoptimizer) and/or KTX2 textures.
- Host: GitHub
- URL: https://github.com/kylebakerio/gltf-packed
- Owner: kylebakerio
- License: mit
- Created: 2022-10-16T00:46:34.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-16T00:54:32.000Z (over 3 years ago)
- Last Synced: 2025-03-13T07:44:05.772Z (over 1 year ago)
- Topics: aframe, gltf, gltfpacked, meshoptimizer
- Language: HTML
- Homepage: https://meshopt-aframe.glitch.me/
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# using meshopt with aframe
Here's a demo for using meshopt with aframe!
Component design inspired by this answer: https://stackoverflow.com/questions/65367877/how-do-i-get-a-gltfpack-processed-model-to-appear-in-a-frame
Note that gltfpack is software you install locally. See [here](https://meshoptimizer.org/gltf/) for install instructions
Note that while you can install with npm, you will be missing critical features, so it's worth it installing it "properly".
Use is simple, just include the dependcies:
```html
```