google-research / multinerf

A Code Release for Mip-NeRF 360, Ref-NeRF, and RawNeRF
Apache License 2.0
3.57k stars 338 forks source link

formula of camtoworlds_opengl #69

Open ZepSbosnia opened 1 year ago

ZepSbosnia commented 1 year ago

Hi, great work!! I'm struggling about how to generate new images by custom poses. I've understood that I have to contruct a camtoworlds_opengl but I don't know how can build it by the angles theta, phi and the radius... .The matrix used in NeRF is different not only for the multiplication suggested @ np.diag([1, -1, -1, 1])