Commit Graph
9 Commits
Author SHA1 Message Date
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 fb909438a5 ws-3d: codecs/Base64 (RFC 4648 standard + url, padding optional, whitespace-tolerant decode, data: URIs); shared: glTF data URIs now, YAML !!binary / Brotli's dictionary / SVG could use it instead of private copies 2026-10-31 08:47:36 -05:00
4DBug bc4cf2dd9d Merge branch 'ws/data' into ws/3d 2026-10-31 08:46:18 -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 a1edea0e44 data: codecs/Xml (XML 1.0 DOM + pull events + serializer: UTF-8/16/Latin-1, entities incl. internal DOCTYPE with expansion limit, CDATA, comments, PIs, namespaces as qualified names + node.ns / clark, xml:space); ElementTree + expat fixtures; bench lines 2026-10-31 08:38:55 -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
4DBug 19110e6199 data: codecs/Json (RFC 8259 parse / serialize: ordered keys, Types.null, bigInts as strings, pretty / ascii, events pull tokenizer, decodeAt / lines, streaming writer); JSONTestSuite + Python json fixtures; bench lines
Types (backward compatible additions in the Data section): Types.object / isObject / set / keys (ordered objects
and empty-object marking, shared by every data format), Types.Date (RFC 3339 typed dates for TOML / plist / CBOR /
msgpack: new / is / valid / parse / toUnix / fromUnix), XmlNode gains optional text / target / ns fields.
tools/bench.sh: also generates the json fixtures.
2026-10-31 08:30:05 -05:00
4DBug cdcb5b0b77 formats-luau foundation: build (darklua + token passes) for Roblox and LuaJIT, compat prelude, core, Types, host adapters, API + registry, lint, tests on both runtimes; absorb deflate (codecs/Deflate + new compressor) and png (image/png + new encoder) 2026-10-31 08:18:01 -05:00