tawasuyu

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 229TOML 101Markdown 82Shell 24052 Definiciones

⎇ main shared/foreign-vox/README.md Markdown · 17 líneas · 653 B Historia crudo

chore: refresco desde el monorepo — 27 crates nuevos (anim, lottie, svg, mesh, image, layer, test, wire-view, widgets rag-sidebar/router/lazy-list/rive-button) y sync de los 95 existentes 93253cc22 · Sergio ·

1# foreign-vox
2
3Bridge to the **MagicaVoxel `.vox`** format.
4
5It reads and writes voxel models in MagicaVoxel's format (a RIFF-like *chunk*
6structure: `MAIN` → `SIZE`/`XYZI`/`RGBA`) and exposes them as a **neutral**
7`VoxModel`: dimensions + a list of `(x, y, z, index)` voxels + a 256-colour RGBA
8palette indexed by the voxel's index.
9
10No dependencies (only `std`): the format is flat *little-endian* bytes. It knows
11**nothing** about the engine — the converter to `VoxelGrid` lives in
12`llimphi-voxel` (CLAUDE.md rule #4: the foreign thing enters through the bridge,
13the core works natively).
14
15---
16
17Part of **shared** — see [shared](../README.md).

README.md

foreign-vox

Bridge to the MagicaVoxel .vox format.

It reads and writes voxel models in MagicaVoxel's format (a RIFF-like chunk structure: MAIN → SIZE/XYZI/RGBA) and exposes them as a neutral VoxModel: dimensions + a list of (x, y, z, index) voxels + a 256-colour RGBA palette indexed by the voxel's index.

No dependencies (only std): the format is flat little-endian bytes. It knows nothing about the engine — the converter to VoxelGrid lives in llimphi-voxel (CLAUDE.md rule #4: the foreign thing enters through the bridge, the core works natively).


Part of shared — see shared.