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

What does it mean by 'rendering each ray requires querying a multilayer perceptron hundreds of times' #181

Open
cx-tian opened this issue Mar 14, 2023 · 2 comments

Comments

@cx-tian
Copy link

cx-tian commented Mar 14, 2023

To render a single ray, say we sample N=64 points along the ray. Then we only evaluated 64 times, why hundreds of times?

@MvWouden
Copy link

NeRF uses Hierarchical volume sampling, see section 5.2 of the original paper for the description.
Long story short, N locations are sampled and put through the "coarse network".
After this, a more "informed" sampling is undertaken by incorporating the output of the coarse network, which tells us which parts of the volume are relevant.
Therefore, more than N samples are taken.

If naive sampling were used, we would indeed get N points along a ray as you expected.

@cx-tian
Copy link
Author

cx-tian commented Mar 16, 2023

@MvWouden Hi thank you, I got it now.

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