Browser Game

Voxel Renderer

VOX file loading + procedural InstancedMesh. DN Framework 3D PoC.

3dvoxelbrowserjavascriptcanvas
IN DEVELOPMENT
VOXEL RENDERER

Dev tool / proof of concept for the DN Framework 3D voxel renderer.

What it tests

  • fromVox(url) — loads a .vox (MagicaVoxel) file via Three.js VOXLoader, renders as a single merged mesh
  • fromArray(voxels) — procedural voxel generation rendered via THREE.InstancedMesh (one draw call per unique color)
  • Orbit controls for full model inspection
  • Render-on-demand (no idle loop — safe for all devices)

Controls

  • Drag — orbit around the model
  • Scroll — zoom in / out
  • Right-drag — pan
  • Load VOX File — loads the generated tower scene from test.vox
  • Procedural Demo — switches to a DN-branded InstancedMesh scene

Blender pipeline

test.vox → Blender + VoxImporter add-on → Decimate modifier → export GLB → load with assetLoader3D.js