Repository navigation
feat: Newton 后端原生渲染器(离线 record + 交互式 interactive)(roadmap #1513) - #1524
Merged
Merged
Conversation
…cs, render extra)
…ender feat(issue-1514): wire Newton native ViewerGL playback (auto mode, docs, render extra)
…into newton native renderer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Roadmap
Roadmap issue:#1513。Declared base:
main。包含的 child issue
交付内容
NewtonBackend接入上游newton.viewer.ViewerGL:离线 record(ViewerGL(headless=True)+get_frame()写 mp4)与交互式 interactive 窗口;auto按有无显示解析;未装渲染依赖时 record 回退 MuJoCo 快照路径、interactive fail-closed。(unisim PR feat: add development toolchain (Makefile) and upgrade dependencies #35)recordoverride 继承 base 的auto;新newton-renderextra(pyglet>=2.1.6,<3+imgui-bundle>=1.92.0);双语7-newton.md/ installation 页 / 支持矩阵证据更新;contract 测试新增play_render_mode == "auto"断言。冲突处理
与 main 的 #1522(mujoco 3.11 联合 extra,移除 uv conflicts)与 #1516(newton DP 验证,SAC owner 新增
inference_request_timeout_sec: 180)取并集:newton 与 mujoco/mjwarp 同线可同环境安装的措辞 +newton-renderextra 说明;SAC owner 保留 180 s 超时、移除play_render_mode: record(继承 auto)。Validation
make test-all通过(全量 + benchmark smoke,1 个 platform-optional mlx skip)。-m slow);Sphinx 构建干净。newton-renderextra):uv run eval --algo sac --task g1_walk_flat --sim newton --load-run 2026-09-06_01-21-36_newton --render-mode record(PYOPENGL_PLATFORM=egl):via newton-viewer-gl,800 帧 1280x720 mp4,16 world 渲染与步态正常(抽帧人工确认)。--render-mode interactive:ViewerGL 窗口持续渲染无报错(交互语义为运行至关窗)。Dependency
运行时需要 unilabsim/unisim PR #35 的
NewtonBackendnative playback 能力。对未含该能力的旧版 unisim-core:interactive/auto 保持 fail-closed,record 走 MuJoCo 快照路径,行为不回归。