three-voxel-loader
three.js plugin for loading voxel data
This is a plugin for three.js. It provides support for loading voxel data and turning it into a three.js Mesh.
Examples - Documentation - Wiki
Table of Contents
🖼 Preview
Installation
This library requires the peer dependency three.js.
$ npm install --save three
$ npm install --save three-voxel-loader
Usage
Syntax
Example
const VoxelLoader = ; // Instantiate the loaderlet loader = ; // Load a resource from provided URL.loader;
Import support
Importing of several file types and data structures with voxel data are supported.
File formats
Data structures
- 3D array
- Sparse octree
License
Copyright © 2020 André Storhaug
three-voxel-loader is licensed under the MIT License.