ws-3d3: model/3ds writer samples camera / light channels through codecs/model/Sampler (drops its local sampler); scene.md intro wrap

This commit is contained in:
4DBug committed 2026-10-31 15:03:40 -05:00
1 parent 44cda7256c
commit 406b894635
4 files changed
+10 -39

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@
Every model format (glTF / GLB, OBJ, STL, PLY, OFF, FBX, Collada, 3MF, USDA, VOX, 3DS, MS3D, B3D, LDraw, LightWave
LWO, DirectX .x, IQM) loads as one `Scene`, a structure shaped like glTF 2.0: a node tree, meshes made of primitives,
flat attribute buffers (accessors), PBR materials, textures, cameras, lights, skins and animations. Mesh-only formats
(STL, PLY, OFF) give a one-node scene. MagicaVoxel files also carry voxel grids (`scene.voxels`). Editing goes through `F.ops.mesh`.
(STL, PLY, OFF) give a one-node scene. MagicaVoxel files also carry voxel grids (`scene.voxels`). Editing goes through
`F.ops.mesh`.
```luau
local scene = assert(F.model.load(texturedGltfText))