nerfstudio-project / nerfacc

A General NeRF Acceleration Toolbox in PyTorch.
https://www.nerfacc.com/
Other
1.38k stars 112 forks source link

How can I train my own c2w transform data? #98

Closed CCamouflage-Hvv closed 1 year ago

CCamouflage-Hvv commented 1 year ago

Hi! Thanks for your great job! I am trying to use your code to train a nerf model with my own dataset. What I want to know the form of the transform matrixes that you used. My data's form is c2w, but I got a wrong result. Are you using w2c? Thanks again!

liruilong940607 commented 1 year ago

The examples are using c2w. But you might need be careful about whether your camera is in opencv or opengl format.

Though this is not related to the nerfacc library itself. As nerfacc handles the rays directly. You have to make sure you create the rays in a correct way, using your cameras.