Prioritize editor compositor preview
This commit is contained in:
parent
027198b541
commit
10e292a702
2 changed files with 2 additions and 23 deletions
|
|
@ -899,29 +899,7 @@ public sealed class MimirRuntime : IAquariumRuntime, IAquariumRuntimeServicesRec
|
|||
{
|
||||
center.Pane("mimir.scene-view", "Scene View", scene =>
|
||||
{
|
||||
scene.Text("scene.view-camera", () => sceneEditor.Enabled
|
||||
? $"Editor camera pos={sceneEditor.CameraPosition.X:0.00},{sceneEditor.CameraPosition.Y:0.00},{sceneEditor.CameraPosition.Z:0.00} target={sceneEditor.CameraTarget.X:0.00},{sceneEditor.CameraTarget.Y:0.00},{sceneEditor.CameraTarget.Z:0.00}"
|
||||
: "Editor camera disabled; spectrum camera owns the program view.", "caption");
|
||||
scene.Text("scene.view-program", DescribeProgramVideo, "mono");
|
||||
scene.Text("scene.view-sync", () => $"{synchronization.Summary()} | {synchronization.SourceCount} sources | poll {lastPollCount} | ingested {synchronization.IngestedSamples}", "caption");
|
||||
scene.Text("scene.view-audio", () => $"{DescribeAudioSyncState()} | aligned {DescribeAlignedAudio()}", "caption");
|
||||
scene.Preview("scene.view-preview", "Program Preview", () => sceneEditor.PreviewItems, weight: 1.8f);
|
||||
scene.Card("scene.view-frame", frame =>
|
||||
{
|
||||
frame.Text("scene.view-frame-title", "Program Surface", "strong");
|
||||
frame.Text("scene.view-frame-detail", () =>
|
||||
{
|
||||
var spectra = sceneReady
|
||||
? $"{lastAudioSpectra.Count} spectra fft={lastAudioSpectra.FirstOrDefault()?.FftSize ?? 0}"
|
||||
: "waiting for Fensalir scene ready";
|
||||
return $"{spectra} | frustum {DescribeSpectrumFrustum()}";
|
||||
}, "mono");
|
||||
frame.Text("scene.view-frame-budget", () =>
|
||||
{
|
||||
var dropped = lastDroppedSpectrumSourceLaneCount > 0 ? $" dropped={lastDroppedSpectrumSourceLaneCount}" : "";
|
||||
return $"{spectrumHistory.Count}/{SpectrumHistoryWindowCount} age columns x {Math.Min(lastAudioSpectra.Count, spectrumSourceLaneCapacity)}/{spectrumSourceLaneCapacity} lanes x {spectrumTubeSubdivisions} subdivisions{dropped}";
|
||||
}, "mono");
|
||||
}, weight: 1.4f);
|
||||
scene.Preview("scene.view-preview", "Program Preview", () => sceneEditor.PreviewItems, weight: 1.0f);
|
||||
scene.Row("scene.view-actions", actions =>
|
||||
{
|
||||
actions.Button("scene.view-frame-selected", "Frame Selected", sceneEditor.ResetCamera);
|
||||
|
|
|
|||
|
|
@ -285,3 +285,4 @@
|
|||
{"ts": "2026-05-31T22:08:09+01:00", "type": "verification", "status": "ok", "note": "Nightwing root SSH is now available through the short local alias nwroot using the existing Starfire-to-Nightwing key, with root login key-only. Installed /etc/udev/rules.d/70-move.rules so Bluetooth PS Move hidraw nodes match Sony 054c:03d5 HID parents and become root:input 0660. Non-root metacrat write-open succeeded for /dev/hidraw2 and /dev/hidraw3, and a two-Move flash test drove 00:07:04:a6:be:5f orange plus 00:06:f5:23:e2:d1 blue, then off."}
|
||||
{"ts":"2026-05-31T21:48:00+01:00","type":"implementation","status":"ok","note":"Mimir's Eve/CultUI editor surface now uses editor anatomy instead of dashboard columns: Scene Graph left, Scene View center, thin Asset Browser below the view, and Inspector right. The old Program/Sync rail was removed from the inspector side so telemetry no longer steals editor hierarchy. Headless empty-runtime capture verified the shell at 1280x720 with no sibling overlap.","files":["src/Mimir.Runtime/MimirRuntime.cs"],"source":"dotnet build src/Mimir.App/Mimir.App.csproj --no-restore; Mimir.App --headless --headless-width 1280 --headless-height 720 --capture-frame artifacts/runtime/mimir-editor-shell-final-headless.png"}
|
||||
{"ts":"2026-05-31T22:06:00+01:00","type":"implementation","status":"ok","note":"Mimir's editor scene view now behaves as a compositor/program preview rather than a dashboard readout: SceneEditorState owns normalized program-frame placement for visible nodes, the CultUI preview renders those rectangles, inspector X/Y/W/H controls mutate the same node transforms as mouse-drag input, and video surface intents carry that placement into Fensalir field support. This makes outgoing element arrangement an editor-owned state path instead of a presentationControls-only opacity/layer list.","files":["src/Mimir.Runtime/MimirRuntime.cs","src/Mimir.Runtime/Synchronization/MimirSceneEditorState.cs","src/Mimir.Runtime/Synchronization/MimirFensalirBridgeContracts.cs","src/Mimir.Runtime/Synchronization/MimirFensalirFieldLowering.cs"],"source":"dotnet build src/Mimir.App/Mimir.App.csproj --no-restore; Mimir.App --headless --headless-width 1280 --headless-height 720 --capture-frame artifacts/runtime/mimir-editor-compositor-preview-headless.png"}
|
||||
{"ts":"2026-05-31T22:18:00+01:00","type":"implementation","status":"ok","note":"Mimir editor scene view no longer carries sync/spectrum telemetry; Odin's Nightwing TUI is the telemetry surface over CultMesh. The center panel now prioritizes compositor affordance surface: the program preview consumes the scene-view body, with only viewport actions below it and asset browsing in the thin lower shelf.","files":["src/Mimir.Runtime/MimirRuntime.cs"],"source":"dotnet build src/Mimir.App/Mimir.App.csproj --no-restore; Mimir.App --headless --headless-width 1280 --headless-height 720 --capture-frame artifacts/runtime/mimir-editor-preview-maximized-headless.png"}
|
||||
|
|
|
|||
Loading…
Reference in a new issue