Skip to content

Conversation

@YilingQiao
Copy link
Collaborator

Description

Add an ViewerOptions option to disable keyboard shortcuts to avoid potential keyboard conflict.

Try setting disable_keyboard_shortcuts=True
in

    scene = gs.Scene(
        viewer_options=gs.options.ViewerOptions(
            camera_pos=(3.5, 0.0, 2.5),
            camera_lookat=(0.0, 0.0, 0.5),
            camera_fov=40,
            disable_keyboard_shortcuts=True,
        ),
        rigid_options=gs.options.RigidOptions(
            # constraint_solver=gs.constraint_solver.Newton,
        ),
        show_viewer=args.vis,
    )
disable_shortcut.mp4

Related Issue

Resolves Genesis-Embodied-AI/Genesis#

Motivation and Context

How Has This Been / Can This Be Tested?

Screenshots (if appropriate):

Checklist:

  • I read the CONTRIBUTING document.
  • I followed the Submitting Code Changes section of CONTRIBUTING document.
  • I tagged the title correctly (including BUG FIX/FEATURE/MISC/BREAKING)
  • I updated the documentation accordingly or no change is needed.
  • I tested my changes and added instructions on how to test it for reviewers.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@YilingQiao YilingQiao marked this pull request as ready for review November 25, 2025 01:54
@YilingQiao YilingQiao requested a review from duburcqa as a code owner November 25, 2025 01:54
@duburcqa
Copy link
Collaborator

Could you combine this with completely disabling text overlay? It significantly slows down rendering and it is important for real time applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants