Assets

Voxel Asset Review

What this shows

Inspect a MagicaVoxel knight while preserving its authored palette.

This example needs a Canvas2D-capable browser.

Loading scene…

Loading scene…

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);