Skip to content

Updates color types in Newton Viewer - #4897

Merged
kellyguo11 merged 5 commits into
isaac-sim:developfrom
matthewtrepte:mtrepte/update_newton_viewer_colors
Mar 10, 2026
Merged

kellyguo11 merged 5 commits into
isaac-sim:developfrom
matthewtrepte:mtrepte/update_newton_viewer_colors

Conversation

@matthewtrepte

Copy link
Copy Markdown
Collaborator

Description

Currently, some imgui bindings in Newton Viewer vary in what input color format they accept, depending on train/play or env. Not sure why this is occuring. To workaround the issue, we can check which input color format imgui wants, and convert the color to that type. Also, this change should fail gracefully is there's an uncaught edge case and not crash the newton viewer.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

Please attach before and after screenshots of the change if applicable.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added documentation Improvements or additions to documentation asset New asset feature or request isaac-sim Related to Isaac Sim team isaac-mimic Related to Isaac Mimic team infrastructure labels Mar 9, 2026
@matthewtrepte
matthewtrepte changed the base branch from main to develop March 9, 2026 21:18
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Mar 9, 2026
@matthewtrepte
matthewtrepte force-pushed the mtrepte/update_newton_viewer_colors branch from 691c6b7 to ede33f6 Compare March 9, 2026 21:26
@matthewtrepte
matthewtrepte force-pushed the mtrepte/update_newton_viewer_colors branch from ede33f6 to e82e0e4 Compare March 9, 2026 21:30
@kellyguo11 kellyguo11 changed the title Update color types in Newton Viewer Updates color types in Newton Viewer Mar 9, 2026
@kellyguo11
kellyguo11 merged commit cee6ff5 into isaac-sim:develop Mar 10, 2026
11 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

asset New asset feature or request documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team isaac-mimic Related to Isaac Mimic team isaac-sim Related to Isaac Sim team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants