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

Offscreen Rendering #340

Open
yifanlu0227 opened this issue Nov 22, 2024 · 2 comments
Open

Offscreen Rendering #340

yifanlu0227 opened this issue Nov 22, 2024 · 2 comments

Comments

@yifanlu0227
Copy link

yifanlu0227 commented Nov 22, 2024

Hi, thanks for your fantastic visualizer!

I wonder if I can do offscreen rendering and save the rendered images using Viser. Since we have a get_render() function in Client Handles, is it possible to hack the code for this function?

@brentyi
Copy link
Collaborator

brentyi commented Nov 22, 2024

Hi @yifanlu0227! This should be possible but I haven't tried it, so I don't have any detailed technical guidance.

get_render() still requires a connected, WebGL-capable client. It should be possible to automatically launch that with a package like selenium.

@yifanlu0227
Copy link
Author

Awesome! Thanks for your rapid response and valuable advice! I will try it!

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

No branches or pull requests

2 participants