chore: checkpoint web Blender migration source, tools and docs
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-10 11:18:01 +08:00
parent 122142c26c
commit f3e21c6b98
6887 changed files with 257154 additions and 12294 deletions

View File

@@ -50,6 +50,14 @@ test("M12-06F rejects sparse accessors, extensions and external URIs", () => {
assert.throws(() => protocol.importGLBSemantics(arrayBuffer(rewriteJson((document) => { document.buffers[0].uri = "external.bin"; }))), /GLB_EXTERNAL_URI_BLOCKED/);
});
test("M12-06F accepts the bounded material extensions emitted by the exporter", () => {
const imported = protocol.importGLBSemantics(arrayBuffer(rewriteJson((document) => {
document.extensionsUsed = ["KHR_materials_ior", "KHR_materials_emissive_strength"];
})));
assert.equal(imported.version, 2);
assert.deepEqual(imported.meshes.map((mesh) => mesh.name), ["M12 Mesh Fixture Mesh"]);
});
test("M12-06F rejects over-budget GLB bytes and table counts", () => {
const oversized = Buffer.alloc(protocol.GLB_IMPORT_BUDGET.maxBytes + 1);
source.copy(oversized);