nerfstudio-project / viser

Web-based 3D visualization + Python
https://viser.studio/latest
Apache License 2.0
847 stars 51 forks source link

Offscreen Rendering #340

Open yifanlu0227 opened 3 days ago

yifanlu0227 commented 3 days ago

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 commented 3 days ago

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 commented 3 days ago

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