bmild / nerf

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

What angle do we query the network with? (x,y,z,theta,phi) #86

Closed apugoneappu closed 3 years ago

apugoneappu commented 3 years ago

image

I have a basic (and probably stupid) question about the angle that we query the network with.

Notation: Theta and phi represent the polar angle of the line joining the camera to the origin Query points: shown in brown Ray: shown in orange alpha, beta: the polar form of direction negative d-hat, that is, the direction from a query point to the camera

For a given camera position (theta, phi), and for a given ray, do we run the network with query point (x, y, z, theta, phi) or with (x, y, z, alpha, beta)?

apugoneappu commented 3 years ago

I got the answer, it is (x, y, z, alpha, beta). According to reply here: https://github.com/bmild/nerf/issues/37#issuecomment-618150087