merge master (ws/roblox, ws/voxel, ...)

This commit is contained in:
4DBug committed 2026-10-31 15:30:37 -05:00
commit 6c26e349f8
68 files changed
+13620 -31

No files matched your search

+5
View File
@@ -329,6 +329,8 @@ node that shows a model has `node.voxels` (an index into `scene.voxels`) and no
| `data` | `buffer` | one byte per cell, `0` = empty, `1..255` = palette index; cell `(x, y, z)` (0-based) at byte `x + sx * (y + sy * z)` |
| `palette` | `{ { r, g, b, a } }` | 255 entries, 0..255 **sRGB**, `palette[i]` for index `i`, shared by a file's models |
| `materials` | `{ [index]: { type, ... } }?` | MATL: `"diffuse"`, `"metal"`, `"glass"`, `"emit"`, ... with their properties |
| `blocks` | `{ palette, data, blockEntities?, entities? }?` | Minecraft grids: the exact block state of every cell ([voxel.md](voxel.md)) |
| `colors` | `buffer?` | true-colour grids (Qubicle): r, g, b, a bytes per cell |
```luau
local V = F.Types.Voxels
@@ -443,6 +445,9 @@ assert(F.model.load(again).skins[1])
| 3MF | yes | yes | |
| USDA (+ USDZ read) | yes | yes | |
| VOX | yes | yes | voxel grids, scene graph, materials |
| Minecraft `.schem` / `.schematic` / `.litematic` | yes | yes | block grids, see [voxel.md](voxel.md) |
| Minecraft region `.mca` | yes | | block grids of chosen chunks, see [voxel.md](voxel.md) |
| Qubicle `.qb` | yes | yes | true-colour grids, see [voxel.md](voxel.md) |
| STEP | via the CAD plug-in | | see [cad.md](cad.md) |
| MD2, MD3, MDL, MD5, BSP | yes | - | game models and maps: see "Game models" above |
| SMD | yes | yes | Valve studiomdl data |