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
eeb62192b5
data: data/json and data/xml (thin wrappers over codecs/Json / codecs/Xml; JSON Lines option; API tests)
2026-10-31 08:40:26 -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
4d84222c45
data: regenerate docs/FORMATS.md (codecs/Json)
2026-10-31 08:30:11 -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
a55b58b102
ws-3d: Types Scene extensions (compatible): Accessor f64/i32/matrix/name, Primitive polygons mode + faces/targets/extras, Mesh weights, Texture data/mime/name/Sampler, TextureRef texCoord/scale/strength/transform.texCoord, Material extensions, Node voxels/weights, names on Camera/Light/Skin, Scene.voxels + Voxels type, COMPONENT_SIZE, Scene.accessor(nil) allocates; api: opts.resolve for sibling files on path loads, save passes format key/name/files and writes sibling files, image-only textures encoded to PNG before model writers, F.model.loadTextures
2026-10-31 08:25:00 -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