bmild / nerf

Code release for NeRF (Neural Radiance Fields)
http://tancik.com/nerf
MIT License
9.83k stars 1.37k forks source link

Camera and World Coordinate in Blender Dataset #120

Open JiuTongBro opened 3 years ago

JiuTongBro commented 3 years ago

Hi,

I am trying to generate my own viewing points on blender dataset, but I can't find any reference of how to generate the transformation matrix. I tried several possible ways, but it seems the [x,y,z] coordinate directions are different in World and Camera frames. Can you tell me how to generate my own transformation matrix of new viewing points?

Sincerely thanks!

AndreaMas commented 3 years ago

I'm struggling with camera transformation matrices too. You may find this python-blender script by the authors useful to generate your poses: https://github.com/bmild/nerf/issues/78#issuecomment-710179139