nerfplusplus icon indicating copy to clipboard operation
nerfplusplus copied to clipboard

why sample t0 linearly from 0 to 1 in order to get a linear sampling in disparity

Open shuochen365 opened this issue 4 years ago • 1 comments

I can understand the paper moving the camera position origin to the z = -n plane.

t = -(near + rays_o[..., 2]) / rays_d[..., 2]

rays_o = rays_o + t[..., None] * rays_d

But I don't understand why t0 changes linearly from 0 to 1 in NDC space. Because according to the formula, it should be - 1 to 1.

shuochen365 avatar Jun 09 '21 07:06 shuochen365

You might want to check this thread: https://github.com/bmild/nerf/issues/18.

Kai-46 avatar Jun 23 '21 15:06 Kai-46