nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
8.87k stars 1.18k forks source link

Add direct render+export and notifications #3220

Open ginazhouhuiwu opened 2 weeks ago

ginazhouhuiwu commented 2 weeks ago

Directly render and export things from the viewer, with notifications!

Uses a simple notification addition from nerfstudio-project/viser#225.

https://github.com/nerfstudio-project/nerfstudio/assets/42229107/147d3fd9-1c8e-432e-a616-9f2b5e2a0435


TODO:

maturk commented 2 weeks ago

Nice PR. @ginazhouhuiwu, is it possible to also add the option to "capture frame" or something similar, where only a single image is saved instead of a video.

ginazhouhuiwu commented 2 weeks ago

that sounds like a great feature I will try implementing! Thanks for taking a look : )

maturk commented 2 weeks ago

that sounds like a great feature I will try implementing! Thanks for taking a look : )

Yeah, it has been a feature that I have seen some users bring up a few times in the past, just to quickly take some snapshots from a certain angle (perhaps using the same camera intrinsics as the original training dataset, but I think that is configurable in the gui anyways). Just some additional thoughts ... :)

kerrj commented 2 weeks ago

Super cool! Would also be great to build out some functionality for previewing the render as it goes and perhaps canceling it. Would be cool to also integrate with viser's download functionality to download the final render directly to someone's machine :)

ginazhouhuiwu commented 1 week ago

Local download! Supported for both render and exports now : )

https://github.com/nerfstudio-project/nerfstudio/assets/42229107/901dcdd9-58c3-4730-ad47-6c0b7afbb9be