glTF/GLB reader for the reference layer (#1)
Container rules: JSON chunk first, BIN second, chunk length multiple of 4, declared total length must equal actual, unknown chunk types skipped, duplicate known types refused. Accessor rules: byteOffset must be a multiple of the component size, reads must stay inside byteLength, sparse refused, normalized not applied, component type 5124 (INT) added. FileRole.Reference and FileKind.Gltf added; codec registered in FormatRegistry. Tests: 58 glTF tests, `:format:jvmTest` green.
This commit is contained in:
@@ -167,6 +167,9 @@ umamoTestCorpus {
|
||||
// dump never floods build/ on a plain test run.
|
||||
"cmo3.resave",
|
||||
)
|
||||
// GltfCorpusTest walks the whole gltf/ corpus. A module-specific default rather than a shared-table
|
||||
// entry: no other module reads glTF yet, and a table entry would switch its gate on as a side effect.
|
||||
sampleWithCorpusDefault("gltf.samples", "gltf")
|
||||
// ModelGenerator's on-switch — a boolean, not a path, so it goes through `flag` and skips the
|
||||
// file-existence check. Without the forwarding the generator reads a property nobody set and
|
||||
// returns immediately: a @Test reporting PASSED while generating nothing.
|
||||
|
||||
Reference in New Issue
Block a user