-
Notifications
You must be signed in to change notification settings - Fork 11
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 the Cyrille Rossant Python Ray Tracer #128
Comments
Ok, let's describe how the ray trace works. The ray tracer renderer has:
The logic is:
|
One of the hardest problems with ray tracing is the intersection point and howto find the direction of the ray from the light to the hit point. In this simple case, we have a plane and a sphere. In these cases, it is pretty simple. |
All done for this first iteration. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Continue from #127:
https://gist.github.com/rossant/6046463
and improved by James Bowman as described in https://excamera.com/sphinx/article-ray.html in the GitHub repository:
https://github.com/jamesbowman/raytrace
The text was updated successfully, but these errors were encountered: