Repository navigation
Restore the Partial Visualization section in the visualization docs - #8577
kellyguo11 merged 3 commits into
Conversation
The section describing partial visualization was dropped from the Visualization page, leaving `max_visible_envs`, `visible_env_indices` and `randomly_sample_visible_envs` documented only in the `VisualizerCfg` API reference. Describe the three fields, the `--max_visible_envs` override, the order in which the selection is resolved, how each visualizer applies it, and that selected environments keep their simulated positions. Add command-line and configuration examples, and link the section from the performance table.
[Low impact] Restores documentation section on partial visualization. The documentation appears safe to merge, with a non-blocking wording correction for optional spacing and camera-follow settings. Findings
SummaryRestores the Partial Visualization section in
Reviews (1) · Last reviewed commit: "Restore the Partial Visualization sectio..." · Reviewed by Greptile |
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: matthewtrepte <[email protected]>
Keep the section close to the original: the three fields, the `--max_visible_envs` override, and a short note that selected environments keep their simulated positions. Drop the per-visualizer table and the examples, which are too much detail for a minor feature.
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Implementation (1), Style consistency (2). Other reviewed categories look good.
- PR description: The title, problem statement, listed changes, and validation match the documentation-only diff; no measurable performance claim requires benchmark evidence.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: The opening claim incorrectly covers all visualizers despite Newton RTX limiting selection to sensor tiles; qualify the statement by backend or perspective behavior.
- Style consistency: The opening repeats the section heading, and the next section lacks the file’s established blank-line spacing; remove the sentence and add one blank line.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 3 inline findings.
Automated review; human maintainers own approval decisions.
| Partial Visualization | ||
| ~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| Visualizers can be configured to visualize just a subset of environments. |
There was a problem hiding this comment.
🟡 Warning · Implementation — Claim contradicts Newton RTX row
This states generally that visualizers show a subset of environments, but the Performance table (line 862) says Newton RTX environment selection only limits sensor display tiles while the perspective view shows the full scene. Note…
| ~~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| Visualizers can be configured to visualize just a subset of environments. | ||
| This is called partial visualization. |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Filler sentence restates the heading
"This is called partial visualization." only repeats the section title and adds no information, which the contribution guide's documentation rules call out as repetition. Delete the sentence.
|
|
||
| By default, selected envs keep their simulated positions, so a random sample or the first envs of a large grid can lie | ||
| outside the camera view. Choose indices near the camera target, or move ``eye`` and ``lookat``. | ||
|
|
There was a problem hiding this comment.
🟡 Warning · Style Consistency — One blank line before next section
Section boundaries in this file use two blank lines (798-800, 844-845, 868-869); only one separates the note from "Scene Background". Add a blank line.
|
run-ci |
Backports #8577 to `release/3.0.0`. The original cherry-pick conflicted. An NVIDIA inference model proposed this resolution, and deterministic validation confirmed that it changes no paths outside the original PR. Because conflict resolution cannot be certified as an exact patch replay, this PR is intentionally a draft and requires release-maintainer review. | Field | Commit | |---|---| | Original merged change | `2a7092cf26f01265864a8c2fb32e4103a58226fc` | | Release base used | `30884d253f2cabc93c7cf4e2da3eee441c6ea33a` | | Proposed backport | `b9295c6956109de6d21cd412715b3617c688fdf6` | Co-authored-by: matthewtrepte <[email protected]>
Description
Restores the "Partial Visualization" section on the Visualization page. It was dropped when the page was rewritten in #7054, which left
max_visible_envs,visible_env_indicesandrandomly_sample_visible_envsdocumented only in theVisualizerCfgAPI reference. This was reported against the 3.0 GA docs.Changes (documentation only):
VisualizerCfgfields and the--max_visible_envsoverride.visible_env_indiceskeeps the given order and is also capped bymax_visible_envs.No code changes.
Type of change
Release backport
developScreenshots
Not applicable (text-only documentation change).
Validation
VisualizerBase.initialize, then ran Cartpole on Newton GL with the default 50 envs, with--max_visible_envs 4, and withvisible_env_indices=[24, 31, 30, 23]. The viewer drew all 50 envs, four randomly sampled envs, and the four envs nearest the origin.uvx pre-commit run --files docs/source/concepts/visualization.rst— passed all hooks.uv run --no-project python tools/changelog/cli.py check develop --include-worktree— passed; no source package changed.uv run --extra dev isaaclab --docs(clean build with-W) — succeeded with no warnings. The built page contains the new section.Checklist
pre-commitchecksCONTRIBUTORS.mdor my name already exists there