NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.63k stars 1.89k forks source link

How to get the camera_path.json for spline path rendering, without GUI #639

Open ycsscy opened 2 years ago

ycsscy commented 2 years ago

Hi, great works!

I am recently enjoying hacking this project, but when I want to render frames along spline path. I have noticed this issue but there is still a problem.

I met problems because it is inconvenient for me to use the GUI, so I cannot get the camera_path.json. I tried to write some codes myself based on what others have done in NeRF to get spiral render path. However, when I use this spiral render path as the camera_path.json, I found the rendering results are always the same, no matter which spiral pose I used.

I think there may be some details that I have not noticed, would you please show me how to get the camera_path.json for spline path rendering without GUI?

Thanks a lot.

PascalHbr commented 1 year ago

I am very interested in this aswell!!

wulouzhu commented 1 year ago

Hi, great works!

I am recently enjoying hacking this project, but when I want to render frames along spline path. I have noticed this issue but there is still a problem.

I met problems because it is inconvenient for me to use the GUI, so I cannot get the camera_path.json. I tried to write some codes myself based on what others have done in NeRF to get spiral render path. However, when I use this spiral render path as the camera_path.json, I found the rendering results are always the same, no matter which spiral pose I used.

I think there may be some details that I have not noticed, would you please show me how to get the camera_path.json for spline path rendering without GUI?

Thanks a lot.

Have you solved it?

0xiNach commented 1 year ago

@wulouzhu @PascalHbr @ycsscy Here is the solution: https://github.com/NVlabs/instant-ngp/discussions/490#discussioncomment-2693813