[go: up one dir, main page]

Skip to content

Loader and viewer for models in several formats such as glTF, FBX, and Collada. Additional formats can be easily added.

Notifications You must be signed in to change notification settings

looeee/multiformat-model-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

> npm install

Then run this command to build code and start the server.

> 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 :)