merge master into ws/3d3 (ws/roblox, ws/voxel, ...)
This commit is contained in:
commit
98b04367c6
68 files changed
+13623
-31
No files matched your search
@@ -349,6 +349,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
|
||||
@@ -628,6 +630,9 @@ assert(back.meshes[1].primitives[1].indices.count == 3)
|
||||
| LightWave LWO (LWO2, LWOB, Modo LXOB) | yes | | layers, vertex maps, surfaces; see below |
|
||||
| DirectX .x (text, binary, MSZIP) | yes | | frames, materials, skins, animation |
|
||||
| IQM (Inter-Quake Model) | yes | yes | skeleton, skin, sampled animations, bounds |
|
||||
| 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) |
|
||||
|
||||
Capabilities per format: [FORMATS.md](../FORMATS.md).
|
||||
|
||||
Reference in new issue
Block a user