vox-to-gltf.js
converts .vox files which can be exported in MagickaVoxel to .gltf files. It is using three.js, vox-reader.js and voxel-triangulation.js.
💾 Installation
npm install --save vox-to-gltf
🚀 Usage
To include it in your project while using a bundling system like webpack use
const voxToGLTF = ;
otherwise use
const voxToGLTF = ;
To read a .vox file and make a .gltf file out of it you can do something like this
const fs = ;const voxToGLTF = ; fs;
📖 License
(c) 2019 Florian Fechner. MIT License