Commit Graph
13 Commits
Author SHA1 Message Date
4DBugandClaude Opus 5.5 e5a932ddaa ws-3d: tests/ops/meshops (triangulate, transform, normals, tangents, weld, merge, bounds, units, up axis, greedy voxels, api texture encoding)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:04:33 -05:00
4DBugandClaude Opus 5.5 185a920769 ws-3d: regenerate Registry.luau / docs/FORMATS.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:02:59 -05:00
4DBugandClaude Opus 5.5 5f07ebcbd7 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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:02:59 -05:00
4DBugandClaude Opus 5.5 c2bfa471a8 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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:02:59 -05:00
4DBugandClaude Opus 5.5 0276eda0e1 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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:47:36 -05:00
4DBug c84d00137d Merge branch 'ws/data' into ws/3d 2026-10-31 08:46:18 -05:00
4DBugandClaude Opus 5.5 c3bbae0271 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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:46:04 -05:00
4DBugandClaude Opus 5.5 126a42e117 data: data/json and data/xml (thin wrappers over codecs/Json / codecs/Xml; JSON Lines option; API tests)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:40:26 -05:00
4DBugandClaude Opus 5.5 907f3650f1 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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:38:55 -05:00
4DBugandClaude Opus 5.5 58f6b32541 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)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:38:02 -05:00
4DBugandClaude Opus 5.5 b6f40e0a74 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.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:30:05 -05:00
4DBugandClaude Opus 5.5 7e2a311aac 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
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:25:00 -05:00
4DBugandClaude Opus 5.5 ccb06775c5 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)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:18:01 -05:00