tests/model: comments: specs only

This commit is contained in:
4DBug committed 2026-11-01 01:50:23 -05:00
1 parent 5f7f6005f6
commit fe7566cbba
37 files changed
+72 -440

No files matched your search

+2 -7
View File
@@ -1,8 +1,5 @@
-- model/gltf KHR_draco_mesh_compression tests: the Khronos samples compressed by draco_transcoder (two quantizations),
-- Draco's and assimp's Draco glTF files. Every Draco primitive against libdraco's decode of its buffer view (points,
-- faces, index and attribute CRCs); the transcoded files against their uncompressed sources (meshes, primitives,
-- nodes, materials, skins, animations, triangles, world bounds within the quantization step); the scene saved back
-- (uncompressed, without the extension) and reloaded; the fuzz no-throw pass. Fixtures: tools/fixtures/gltf_draco.py.
-- model/gltf KHR_draco_mesh_compression tests: Draco primitives against libdraco, transcoded files against their sources.
-- Fixtures: tools/fixtures/gltf_draco.py.
local T = require("@tests/T")
local Gltf = require("@rosetta/model/gltf")
local MeshOps = require("@rosetta/ops/MeshOps")
@@ -62,7 +59,6 @@ for _, c in Cases do
checked.prims += 1
end
end
-- against the uncompressed source
local o = c.original
if o then
local orig, oerr = decode(o.data, o.files)
@@ -95,7 +91,6 @@ for _, c in Cases do
checked.originals += 1
end
end
-- saved back without the extension
local glb = Gltf.encode(scene, { binary = true })
t:check(glb, c.name .. ": encode")
if glb then