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

Explore usage of a rotated regular grid for better memory access pattern while ray tracing #118

Open
KyleVaughn opened this issue Aug 17, 2023 · 0 comments

Comments

@KyleVaughn
Copy link
Owner

Due to the memory layout of the grid, ideally we want rays which are parallel to the x axis. For steep angles, the memory access patter becomes highly inefficient. Therefore one could introduce a second grid rotated be 45 or 90 degrees, then pick which grid to use based on angle of the rays.

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

1 participant