https://github.com/kiwijuice56/ray-tracer-demo
Simple raytrace renderer implemented in pure python
https://github.com/kiwijuice56/ray-tracer-demo
3d 3d-engine python raytracer raytracing rendering
Last synced: 5 months ago
JSON representation
Simple raytrace renderer implemented in pure python
- Host: GitHub
- URL: https://github.com/kiwijuice56/ray-tracer-demo
- Owner: kiwijuice56
- License: mit
- Created: 2022-10-08T23:34:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-09T23:58:14.000Z (about 3 years ago)
- Last Synced: 2025-03-28T02:53:04.744Z (7 months ago)
- Topics: 3d, 3d-engine, python, raytracer, raytracing, rendering
- Language: Python
- Homepage:
- Size: 366 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# python-raytracer
Basic raytracer implemented in python. Currently only supports
planes, spheres, and lights.

## Dependencies
- Pillow is necessary to draw each pixel and save the image as a file. You can substitute this with another library that can draw pixel by pixel
## Attribution
- [Kyle Halladay's sphere intersection explanation](http://kylehalladay.com/blog/tutorial/math/2013/12/24/Ray-Sphere-Intersection.html)
- [Scratchapixel.com's raytracing explanation](https://www.scratchapixel.com/lessons/3d-basic-rendering/introduction-to-ray-tracing/how-does-it-work)