Assets
Voxel Asset Review
What this shows
Inspect a MagicaVoxel knight while preserving its authored palette.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
const result = new EASEL.VOXLoader().parse(arrayBuffer);
const mesh = EASEL.buildVOXMesh(result.chunks[0]);
mesh.material = new EASEL.LambertMaterial({ vertexColors: true });
scene.add(mesh);