bmild / nerf

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

ramdom direction of light sampling #75

Closed qsobad closed 3 years ago

qsobad commented 3 years ago

in the papar, you have perturb for the position the light sampled. i tried to also randomise the direction of of light sampled from the camera within the box of pixel. (i + rand - W/2)/f in contrast to fixed position (i - W/2)/f, it gets worse result. i wondered why

kwea123 commented 3 years ago

It sounds very similar to a common trick used in ray tracing (antialiasing), I wonder why it doesn't work..

qsobad commented 3 years ago

i think it might be easier for mlp to learn that way