Skip to content

zalo/GLTFExporter

Repository files navigation

Ultra-simple one-off tool for importing an .fbx, applying a texture to it, and exporting it as a .gltf.

Based on the three.js GLTF Exporter: https://github.com/mrdoob/three.js/blob/master/examples/misc_exporter_gltf.html

Building

This toy can either be run without building (in Chrome/Edge/Opera since raw three.js examples need Import Maps), or built with:

npm install
npm run build

If building manually, make sure to edit the index .html to point from "./src/main.js" to "./build/main.js".

Dependencies