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

Horizontal wrapping hash grid? #67

Closed
jonathanventura opened this issue Mar 17, 2022 · 1 comment
Closed

Horizontal wrapping hash grid? #67

jonathanventura opened this issue Mar 17, 2022 · 1 comment

Comments

@jonathanventura
Copy link

How difficult would it be to make the HashGrid wrap horizontally? This would be useful for representing panoramic scenes with a NeRF.

@Tom94
Copy link
Collaborator

Tom94 commented Mar 17, 2022

Fairly simple -- I reckon it's sufficient to add the appropriate modulus to the grid_index function.

That said, I haven't experienced particularly visible seams without wrapping. The interpolation doesn't cross the boundaries of the unit cube in any case, and the coinciding vertices on the boundary tend to learn similar values.

@Tom94 Tom94 closed this as completed Apr 24, 2022
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