BS-JD-002 - Scene document abstraction above DynamicScene RON #4
Closed
opened 2026-06-06 01:45:33 -04:00 by Rbanh
·
3 comments
No Branch/Tag Specified
main
codex/m2-content-workspace
codex/fbx-external-textures
codex/deterministic-asset-fingerprints
codex/guarded-shutdown-savepoints
codex/sample-regression-pack
codex/operator-invariants-completion
codex/renderer-foundation-acceptance
codex/collider-diagnostics
codex/physics-placement
codex/terrain-material-layers
codex/terrain-sculpt-strokes
codex/terrain-foundation
codex/non-blocking-native-dialogs
codex/collaboration-live-acceptance
codex/material-library-targeted-drop
codex/source-control-collaboration-safety
codex/renderer-material-component-foundation
No results found.
Labels
Clear labels
area:animation
area:assets
area:audio
area:brushes
area:build-release
area:extensions
area:governance
area:hierarchy
area:inspector
area:navigation
area:operators
area:physics
area:project-ux
area:quality
area:rendering
area:runtime
area:scene-io
area:terrain
area:viewport
priority:P0
priority:P1
priority:P2
priority:P3
roadmap:jackdaw
roadmap:production
type:architecture
type:docs
type:epic
type:feature
Skeletal animation import, preview, graph/state authoring, and runtime integration.
Asset browser, material browser, thumbnails, import, processing, and asset watcher.
Audio source/listener authoring, buses, spatial preview, and runtime integration.
Brush geometry, CSG, face editing, UVs, and brush diagnostics.
Build profiles, packaging, content validation, release gates, and distribution diagnostics.
Static extension API, extension scaffolds, dylib exploration.
Policy, attribution, planning, and production process.
Outliner hierarchy, parenting, grouping, prefab structure, ordering, and selection workflows.
Inspector, component metadata, component editing UX.
Navigation mesh authoring, baking, diagnostics, and AI path preview.
Editor operator/action framework, undo, commit/cancel semantics.
Physics placement, colliders, rigid bodies, diagnostics, and overlays.
Project launcher, profiles, templates, or first-run project workflow.
Regression packs, tests, performance budgets, profiler, first-hour UX.
Static and skinned renderers, material slots, shaders, ray tracing, and render-path integration.
BRP, remote inspector, PIE, game preview, runtime integration.
Scene document, save/load, schema, migration, or reference repair.
Terrain authoring, terrain sculpting, heightmaps, and terrain materials.
Viewport interaction, selection, shortcuts, camera, overlays, and controls.
Must-have prerequisite or milestone-critical item.
Important production feature after P0 work is stable.
Useful follow-up or polish item.
Exploratory or later spike.
Jackdaw-inspired Blacksite editor roadmap item.
Blacksite production-readiness roadmap item beyond the Jackdaw-inspired foundation.
Architecture, internal framework, or hard-to-reverse technical decision.
Documentation, policy, samples, or issue-board structure.
Tracking epic that groups related milestone work.
User-visible feature or capability.
Milestone
No items
No Milestone
M0 - Foundation and polish seams
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Falling-Metal-Interactive/Blacksite#4
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Introduce a
SceneDocumentlayer that tools edit instead of touching Bevy serialization directly, while still round-tripping through current DynamicScene RON.Why
A document layer makes future diffs, prefab overrides, migrations, and possible BSN/JSN-style formats mechanical instead of tool-specific rewrites.
Implementation notes
crates/scene/src/document.rswithSceneDocument,SceneEntity,SceneComponentBlob, andScenePatch.Acceptance criteria
SceneDocumentwith validator-compatible output.ScenePatch.Tests/docs
Golden round-trip tests for current scenes and schema migration. Update scene authoring flow docs and create ADR if format direction hardens.
Starting this next.
Initial implementation target:
crates/scene/src/document.rswithSceneDocument,SceneEntity,SceneComponentBlob, andScenePatchtypes.docs/editor/architecture.mdand/or docs index for the scene authoring flow.Scope guard: no BSN/JSN migration yet; existing RON save/load behavior should remain compatible.
Implementation progress in working tree:
scene::documentwithSceneDocument,SceneEntity,SceneEntityId,SceneComponentBlob,ScenePatch, andSceneTransform.SceneDocumentis Bevy-free and schema-aware; it migrates/validates current DynamicScene RON and exposes stable actor/component concepts without using raw BevyEntityIDs as document identity.SceneIosave/load throughSceneDocumentwhile preserving current DynamicScene RON storage.Verification:
cargo fmt --checkcargo test -p scenecargo check --workspace --all-targetsRemaining before closing:
Implemented and pushed in
2054fa2(Advance M0 scene and rendering foundations).What landed:
scene::document::SceneDocument,SceneEntity, stable document IDs, component blobs, andScenePatchvocabulary for component set/remove, entity add/delete, reparent, rename, and transform set.EntityIDs out of document identity; actor IDs are used where available and anonymous document IDs are assigned otherwise.Verification:
cargo test -p scenecargo test -p settingscargo test -p shared hydrationcargo test -p game_hot rendering::cargo check --workspace --all-targetscargo check --workspace --all-targets --all-featuresNotes: