multinerf icon indicating copy to clipboard operation
multinerf copied to clipboard

How to render the video with my own camera track?

Open geyanlu opened this issue 3 years ago • 4 comments

Hi, thanks for your great work.I want to render the video with my own camera track like ngp,can you give me some advice?, thanks a lot!

geyanlu avatar Aug 30 '22 09:08 geyanlu

There are a couple ways to go about this. The two easiest are:

  1. Construct a new smooth set of N camera pose matrices yourself and save it as a numpy array with shape [N, 3, 4] in a .npy file, then pass this to the render job using this flag.
Config.render_path_file = 'my_render_poses.npy'
  1. Specify a list of image filenames (from the input image folder) to be used as spline keyframes to create a smooth camera trajectory, pass the path of a txt file with this list (one filename per line) using this flag:
Config.render_spline_keyframes = 'keyframe_image_filenames.txt'

bmild avatar Aug 31 '22 13:08 bmild

Is there a script or visual tool to generate the render_path_file?

guijuzhejiang avatar Sep 26 '22 01:09 guijuzhejiang

@bmild Hi, I also need to generate a new camera trajectory for rendering. But I have tried several methods, the rendered images (from imported render_path_file.npy) are filled with noise. Could you provided some scripts to generates this?

MaxChanger avatar Nov 07 '22 15:11 MaxChanger

I'm facing the same issue.. How can identify the camera position by the poses matrix and how can I from the camera poses and angles construct the poses matrix

ZepSbosnia avatar Nov 08 '22 15:11 ZepSbosnia