https://github.com/looeee/multiformat-model-viewer
Loader and viewer for models in several formats such as glTF, FBX, and Collada. Additional formats can be easily added.
https://github.com/looeee/multiformat-model-viewer
3d-graphics 3d-models collada fbx fbx-parser gltf gltf-loader gltf2-export loader multiformat-model-viewer threejs threejs-loader viewer webgl webgl2
Last synced: 3 months ago
JSON representation
Loader and viewer for models in several formats such as glTF, FBX, and Collada. Additional formats can be easily added.
- Host: GitHub
- URL: https://github.com/looeee/multiformat-model-viewer
- Owner: looeee
- Created: 2021-04-05T11:10:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-01T11:57:21.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T05:23:01.632Z (8 months ago)
- Topics: 3d-graphics, 3d-models, collada, fbx, fbx-parser, gltf, gltf-loader, gltf2-export, loader, multiformat-model-viewer, threejs, threejs-loader, viewer, webgl, webgl2
- Language: JavaScript
- Homepage: https://loader.lewy.blue/
- Size: 3.79 MB
- Stars: 18
- Watchers: 1
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Three.js Multiformat Model Viewer
Loader and viewer for models in several formats.
## Instructions
Clone/download the repo. Node.js and NPM are required.
Run this command once.
``` bash
> npm install
```
Then run this command to build code and start the server.
``` bash
> npm start
```
## Supported Formats
* FBX
* glTF
* Collada
Any other three.js loaders can be easily added. Pull request welcome!
## Supported Image Formats
* All standard formats (PNG, GIF, JPG, etc.)
* DDS
## Export Functions
Once you have loaded a model, you can export an animation clip as JSON, or the entire model as glTF.
## Limitations/issues
* Color management is incorrect
* Environment maps are incorrect (should use PRMREM)
## License
All code is MIT licensed, do whatever you like with it and have fun :)