-
Notifications
You must be signed in to change notification settings - Fork 90
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
Normalize ray_vector? #70
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I see that in your code, you get ray_vector by subtracting the camera origin (camera_world) from the pixel (p_world)
ray_vector = camera_world - p_world.
I'm wondering if this ray_vector can have a depth other than 1? For example, can you sample a point inside the unit cube and setray_vector = p_inside_cube - camera_world
, will this ray_vector still be a valid input into the ray marching function? Thanks!The text was updated successfully, but these errors were encountered: