hbb1 / 2d-gaussian-splatting

[SIGGRAPH'24] 2D Gaussian Splatting for Geometrically Accurate Radiance Fields
https://surfsplatting.github.io
Other
1.9k stars 116 forks source link

How to render paths and make it into a video? #129

Open skalien opened 1 month ago

skalien commented 1 month ago

Hi,

NeRF studio Viser viewer allows to render novel views of the model on a render path. The 2DGS viewer (https://github.com/hwanhuh/2D-GS-Viser-Viewer) appears to have the capability to export json file for a set of cameras lined up as a path. How do I take this json file and render the path into a set of images or a video?

Thanks.

hbb1 commented 1 month ago

Hi, Now GaussianSplats3D also supports 2DGS. You can use it for web-based viewer.

As for off-line video rendering, the most easy way I believe is to convert the your json file into our camera format. You can refer to here https://github.com/hbb1/2d-gaussian-splatting/blob/main/render.py#L73C1-L84C40 Given the camera_traj, our script will automatically convert the images into a video.