Turns the single-window overlay into a dockable editor (ImGui docking branch, v1.91.5-docking). Stacked on #4 (devin/1795846281-vmd-ik).
Layout: DockSpaceOverViewport with a passthrough central node; default split Scene/Bones (left), Morphs (right), Timeline (bottom), built by App::buildLayout. Layout is saved to ~/.model_renderer_layout.ini; View > Reset panel layout rebuilds it.
3D view: no render-to-texture. App::updateProjection squeezes the master camera's projection into the central node's rect, so the scene renders behind the panels with no extra pass.
Timeline (src/app/Timeline.cpp): transport, ruler scrubbing, one keyframe row per camera/audio/bone/morph track (MotionPlayer::boneBindings/morphBindings), Ctrl+wheel zoom, Shift+wheel/middle-drag pan, playhead follow, click a bone row to select it.
Pop-out viewport (App::updatePopOut): slave camera in a second OS window sharing the GL context; the editor window then draws UI only (cull mask 0, not inherited by the slave). Closing the window docks it back. --pop-out CLI.
Render (src/app/Render.cpp): File > Render... writes a PNG sequence from an offscreen FBO slave camera (MSAA x4 where supported), presets up to 4K and vertical, transparent background, optional ffmpeg MP4 with the song. --render DIR --range A,B --render-size WxH batch mode.
ImGui events from the pop-out window are ignored by the ImGui handler.
Tested: Linux and macOS 12 (Intel) builds, mr_tests pass on both; screenshots of the docked layout, pop-out window and a 10-frame --render on Linux. Note: on llvmpipe the MSAA FBO falls back to non-multisampled output.
Turns the single-window overlay into a dockable editor (ImGui docking branch, `v1.91.5-docking`). Stacked on #4 (`devin/1795846281-vmd-ik`).
- **Layout**: `DockSpaceOverViewport` with a passthrough central node; default split Scene/Bones (left), Morphs (right), Timeline (bottom), built by `App::buildLayout`. Layout is saved to `~/.model_renderer_layout.ini`; View > Reset panel layout rebuilds it.
- **3D view**: no render-to-texture. `App::updateProjection` squeezes the master camera's projection into the central node's rect, so the scene renders behind the panels with no extra pass.
- **Timeline** (`src/app/Timeline.cpp`): transport, ruler scrubbing, one keyframe row per camera/audio/bone/morph track (`MotionPlayer::boneBindings/morphBindings`), Ctrl+wheel zoom, Shift+wheel/middle-drag pan, playhead follow, click a bone row to select it.
- **Pop-out viewport** (`App::updatePopOut`): slave camera in a second OS window sharing the GL context; the editor window then draws UI only (cull mask 0, not inherited by the slave). Closing the window docks it back. `--pop-out` CLI.
- **Render** (`src/app/Render.cpp`): File > Render... writes a PNG sequence from an offscreen FBO slave camera (MSAA x4 where supported), presets up to 4K and vertical, transparent background, optional `ffmpeg` MP4 with the song. `--render DIR --range A,B --render-size WxH` batch mode.
- ImGui events from the pop-out window are ignored by the ImGui handler.
Tested: Linux and macOS 12 (Intel) builds, `mr_tests` pass on both; screenshots of the docked layout, pop-out window and a 10-frame `--render` on Linux. Note: on llvmpipe the MSAA FBO falls back to non-multisampled output.
dev
changed target branch from devin/1795846281-vmd-ik to main2026-11-28 09:11:10 -05:00
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.
Turns the single-window overlay into a dockable editor (ImGui docking branch,
v1.91.5-docking). Stacked on #4 (devin/1795846281-vmd-ik).DockSpaceOverViewportwith a passthrough central node; default split Scene/Bones (left), Morphs (right), Timeline (bottom), built byApp::buildLayout. Layout is saved to~/.model_renderer_layout.ini; View > Reset panel layout rebuilds it.App::updateProjectionsqueezes the master camera's projection into the central node's rect, so the scene renders behind the panels with no extra pass.src/app/Timeline.cpp): transport, ruler scrubbing, one keyframe row per camera/audio/bone/morph track (MotionPlayer::boneBindings/morphBindings), Ctrl+wheel zoom, Shift+wheel/middle-drag pan, playhead follow, click a bone row to select it.App::updatePopOut): slave camera in a second OS window sharing the GL context; the editor window then draws UI only (cull mask 0, not inherited by the slave). Closing the window docks it back.--pop-outCLI.src/app/Render.cpp): File > Render... writes a PNG sequence from an offscreen FBO slave camera (MSAA x4 where supported), presets up to 4K and vertical, transparent background, optionalffmpegMP4 with the song.--render DIR --range A,B --render-size WxHbatch mode.Tested: Linux and macOS 12 (Intel) builds,
mr_testspass on both; screenshots of the docked layout, pop-out window and a 10-frame--renderon Linux. Note: on llvmpipe the MSAA FBO falls back to non-multisampled output.