/a-simple-gltf-viewer

A simple WebGL glTF viewer

Primary LanguageTypeScriptMIT LicenseMIT

a-simple-gltf-viewer

Just a simple glTF viewer inspired by:

Features:

TODO:

  • Support skin.
  • Support Camera.
  • Support Morph
  • Use some PWA features to cache glTF model.
  • Add more post-processing such as FXAA.
  • Support drag & drop when uploading glTF model.
  • Handle context loss.

Getting started

Then install all the node_modules needed by executing the following command:

npm run install

Finally execute the following command to start Webpack in development mode and watch the changes on source files.

npm run dev