Expand description
Sphere-region voxel extraction (meltsphere) and its support
tables.
Port of voxlap’s meltsphere (voxlap5.c:10222-10344). Walks an
AABB-bounded sphere of voxels in the world and packages the
visible (border) voxels into a fresh kv6 sprite.
Supporting helpers:
lightvox— alpha-byte face shader (voxlap5.c:623-632).PowerTables+PowerTables::build_tempfloatbuf— the factr / logint / tempfloatbuf machinery (voxlap5.c:118-120 statics, :12224-12236 init, :10240-10252 per-call build).
Structs§
- Meltsphere
Output - Output of
meltsphere— a freshly-built kv6 sprite plus the computed sprite centroid and total solid-voxel count. - Power
Tables - Tables that voxlap precomputes once in
initvoxlapand reuses across everymeltsphere/setspherecall.
Functions§
- meltsphere
- Region-grow a sphere of voxels out of the world into a kv6 sprite.