Files
workinf_Blender_Wasm/docs/status/W-032.md
2026-08-12 04:47:48 -04:00

865 B

W-032 Status

status: done task: 导出场景树和集合

Evidence

  • C++ collection/object traversal: web_engine_blend_reader.cpp
  • Dynamic Outliner: web/app/src/app/App.tsx
  • Golden: tests/golden/W-032/basic-scene-tree.json

The reader resolves Scene root collections, linked collection objects, object parent/data links, active camera, local/world matrices, viewport visibility and selectability. Collection and node arrays are sorted by stable IDs before serialization; parent cycles fall back to the local matrix instead of recursing without a bound.

Verification

node tools/web/run-web-engine-smoke.mjs
npm run test:e2e  # local basic_scene.blend appears in Outliner

Remaining risk

The fixture proves one nested collection. View-layer overrides and evaluated depsgraph visibility remain part of the later scene-context work.