Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shuochen365 opened this issue Jun 9, 2021 · 1 comment

Comments

@shuochen365
Copy link

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.

@Kai-46
Copy link
Owner

Kai-46 commented Jun 23, 2021

You might want to check this thread: bmild/nerf#18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants