Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idle playback in GUI #6811

Open
3 tasks done
richardrl opened this issue Jun 3, 2024 · 1 comment
Open
3 tasks done

Idle playback in GUI #6811

richardrl opened this issue Jun 3, 2024 · 1 comment
Labels

Comments

@richardrl
Copy link

Checklist

My Question

I want to be able to press spacebar and run a playback function that idly animates the main 3D scene.

I'm not sure how to do this; seems related to the idea of an animation playback: #2869

@richardrl
Copy link
Author

Actually, we can do this if we can control when the renderer updates the scene.

How do I force the renderer in the GUI to re-render all meshes at a new pose, set by:

self._scene.scene.set_geometry_transform(id, transformation.transformation)
If I use:
self._scene.force_redraw()

nothing happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant