4DBug
44cda7256c
merge ws/3d3-b (model/lwo, model/x, model/iqm, codecs/model/Sampler; brings ws/game af4488d for codecs/model/Rig)
2026-10-31 15:02:25 -05:00
4DBug
4b9d8e3069
ws-3d3-b: model/x: counts past the data are refused before allocating (TRUNCATED)
2026-10-31 15:01:09 -05:00
4DBug
feb8d18cfb
merge ws/3d3-a (model/3ds, model/ms3d)
2026-10-31 14:55:36 -05:00
4DBug
51daa00a67
ws-3d3-b: model/iqm (Inter-Quake Model v2 read + write: meshes, every vertex array format, joints -> skin, poses / frames / anims -> channels, bounds; writer merges skins, samples and quantizes animations); new codecs/model/Sampler (channel evaluation STEP / LINEAR + slerp / CUBICSPLINE, animation poses at a time) with tests
...
mrfixit.iqm matches assimp and an independent Python IQM reader (its skinning reproduces the bounds the IQM tool stored; ours matches it to 1e-4); round trips and glTF skinned models written by us are skinned identically by the Python reader.
2026-10-31 14:39:22 -05:00
4DBug
730820d1f6
ws-3d3: model/ms3d (MilkShape 3D) read + write
...
Groups, materials (texture uri), joints -> nodes + skin + one animation,
version 4 sub-versioned blocks (comments, vertex extras with up to four
bones, joint colours, model extras). Writer: groups per placed primitive,
the first skin plus animated nodes as joints (rigid meshes bound to them),
weights in percent. Tested against assimp and through glTF skin models.
2026-10-31 14:33:46 -05:00
4DBug
de2695b87d
merge ws/3d3-d (model/b3d, model/ldraw)
2026-10-31 14:30:17 -05:00
4DBug
c3711a7ab1
ws-3d3: model/gltf: KHR_draco_mesh_compression through codecs/model/Draco
...
Draco primitives decode on load (attributes as their accessors declare them,
u32 indices), written back uncompressed without the extension; meshopt stays
UNSUPPORTED. Tests: transcoded Khronos samples (two quantizations), Draco's and
assimp's Draco glTF files, each Draco primitive byte for byte against libdraco,
against the uncompressed sources, round trips. Draco bench line; scene.md section.
2026-10-31 14:29:54 -05:00
4DBug
e3ac2f8b36
ws-3d3-d: model/ldraw (LDR / DAT / MPD read: parts as shared meshes per colour, sub-models as nodes, BFC, LDConfig colours, library paths through files / resolve)
...
Built-in colour table from LDConfig.ldr (CC BY 2.0 / 4.0, licenses/LDRAW_COLOURS.txt + NOTICE.md row).
Tests: independent Python expansion + LeoCAD OBJ export of library parts / car.ldr / pyramid.ldr (read from the nix store).
2026-10-31 14:28:56 -05:00
4DBug
a43d81538e
ws-3d3: model/3ds (Autodesk 3D Studio) read + write
...
Meshes (smoothing-group normals, uvs, mesh matrix, per-face materials), Phong
materials with texture maps (uri), cameras, lights, the keyframer (hierarchy,
pivots, instances, dummies, position / rotation / scale / camera tracks ->
one animation). Writer: objects, materials, cameras, lights, keyframer.
Tested against assimp (test models, its 3DS exporter, and reading our files).
2026-10-31 14:19:08 -05:00
4DBug
4f05c89f01
ws-3d3-b: model/x (DirectX .x read: text, binary, MSZIP tzip / bzip, 32 / 64-bit floats; frames, meshes with normals / uvs / colours, materials and textures, skins, animation sets); assimp's test models plus bin 0064 / tzip variants match assimp's counts, bones, animations and world bounds
2026-10-31 14:17:28 -05:00
4DBug
1aaf8fce68
ws-3d3-b: model/lwo (LightWave LWO2 / LWOB / Modo LXOB read: layers with pivots and parents, polygons, VMAP / VMAD uv / colour / normal / weight / morph maps, surfaces and image blocks); 54 assimp test models match assimp's counts, materials and world bounds
2026-10-31 14:03:52 -05:00
4DBug
07dc6f7e84
ws-3d3-d: model/b3d (Blitz3D read: brushes, textures, node tree, skins, keyframe animation; LH -> RH)
2026-10-31 14:00:57 -05:00
4DBug
a4751298ed
Merge branch 'ws/3d2-usda' into ws/3d2
2026-10-31 09:47:00 -05:00
4DBug
dd453c336e
ws-3d2: merge ws/3d2-dae (model/dae); registry regenerated
2026-10-31 09:47:00 -05:00
4DBug
312cd3c10e
ws-3d2: merge ws/3d2-3mf (model/3mf); registry regenerated, bench lines merged
2026-10-31 09:46:52 -05:00
4DBug
d4affd565e
ws-3d2/fbx: model/fbx (binary 7.x + ASCII read, binary 7.4 / 7.5 + ASCII write): node tree, Objects / Connections -> Scene (full transform model, layer elements, materials, textures, skins, blend shapes, animation stacks, cameras, lights); tests against assimp + Blender, round trips, fuzz; bench lines
2026-10-31 09:46:25 -05:00
4DBug
3e658042e3
ws-3d2/usda: model/usda - USD ASCII read / write (+ USDZ read), checked against OpenUSD (pxr), assimp's USD models and Blender exports
...
Reads stage metadata, xform op stacks (every rotate order, orient, transform, pivots / !invert!, resetXformStack),
time samples -> TRS animation, Mesh (all primvar interpolations + indices, GeomSubsets, holes, leftHanded),
UsdPreviewSurface / UsdUVTexture / UsdTransform2d materials with inherited bindings, cameras, UsdLux lights,
selected variants. USDC returns UNSUPPORTED. Writes Xform / Mesh / GeomSubset / Material / Camera / lights.
2026-10-31 09:41:47 -05:00
4DBug
788d0b5332
ws-3d2/dae: model/dae (Collada 1.4/1.5 + .zae) read: geometry (all primitive kinds, shared offsets), common-profile materials + images, node tree (all transform elements, instance_node), skin + morph controllers, cameras, lights, animations resampled to TRS channels (clips); write: Collada 1.4.1 / .zae (meshes, materials, images, nodes, cameras, lights). Tests against assimp's Collada models (nixpkgs assimp.src at fixture time), assimp exports of glTF samples vs their originals, assimp reading our output, round trips, fuzz
2026-10-31 09:41:27 -05:00
4DBug
80383dcdd7
ws-3d2/3mf: model/3mf read / write (core, materials extension: base / colour / texture2d groups, composite, multiproperties; components, production p:path parts, units, metadata); tests against lib3mf 2.5 (its test suite), assimp, trimesh, our output read back by all three; bench lines
2026-10-31 09:33:43 -05:00
4DBug
20ca5a054d
ws-3d: model/gltf (glTF 2.0 JSON + GLB read/write: accessors of every type incl. normalized/sparse/strided/padded matrices, PBR + KHR_materials_*, KHR_texture_transform, images kept encoded, samplers, cameras, KHR_lights_punctual, skins, animations, morph targets, KHR_mesh_quantization, extras/unknown extensions round trip); Khronos sample assets + gltfpack + assimp fixtures
2026-10-31 09:02:59 -05:00
4DBug
35891a06d1
ws-3d: model/stl (ASCII + binary, VisCAM / Magics colours), model/ply (ASCII + binary LE/BE, arbitrary properties, point clouds, raw extra elements), model/off (OFF/COFF/NOFF/STOFF, face colours), read + write; codecs/MeshFlatten (Scene -> one world-space mesh for the mesh-only writers, shared instead of a copy per format); tests vs assimp / trimesh / plyfile, reference tools reading our output
2026-10-31 09:02:59 -05:00
4DBug
724c55f440
ws-3d: model/obj (OBJ + MTL read/write: objects/groups -> nodes, per-material primitives, n-gons fan-triangulated or kept as polygons, vertex colours, lines/points, PBR MTL extension, texture maps with options, files through opts.files/resolve); tests vs assimp + trimesh, and assimp/trimesh reading our output
2026-10-31 08:46:04 -05:00
4DBug
b37c61a96c
ws-3d: model/vox (MagicaVoxel read/write: every chunk, scene graph, materials, layers, render objects, cameras, notes, IMAP, META, unknown chunks kept), ops/MeshOps (triangulate, transform, normals, tangents, weld/unweld, bounds, merge, scale/setUnit/setUp, greedy voxel meshing); Types: Scene.reader/mul/nodeMatrix/flatten helpers; compat: __iter visits t[0] on LuaJIT (was skipped by ipairs)
2026-10-31 08:38:02 -05:00