nvdiffrec icon indicating copy to clipboard operation
nvdiffrec copied to clipboard

How can I change the camera pose?

Open bxcharlie opened this issue 3 years ago • 1 comments

When I use the dataset_llff, how to change the camera pose to adapt other render method that changed the camera pose.

bxcharlie avatar Nov 04 '22 13:11 bxcharlie

Hello,

I'm not sure if I understand the question. The camera matrix is computed here https://github.com/NVlabs/nvdiffrec/blob/main/dataset/dataset_llff.py#L85 from data read from the file poses_bounds.npy, in case of an LLFF dataset.

This file https://github.com/NVlabs/nvdiffrec/blob/main/dataset/dataset_mesh.py shows a case where we generate (random) poses on the fly.

jmunkberg avatar Nov 11 '22 11:11 jmunkberg