Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mschuldt/raytracer_intro
https://github.com/mschuldt/raytracer_intro
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/mschuldt/raytracer_intro
- Owner: mschuldt
- Created: 2015-04-08T02:12:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-09T23:34:27.000Z (almost 10 years ago)
- Last Synced: 2025-01-09T22:37:13.449Z (9 days ago)
- Language: Python
- Size: 156 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
files:
- basic_raycasting.py
simple raycasting with sphere intersection
run with: 'python main.py basic'
- illuminated_raycasting.py
adds illumination
run with: 'python main.py illum'
- shadows_raycasting.py
adds shadows
run with: 'python main.py shadows'
- basic_raytracer.py
recursive raycasting - reflections
run with: 'python main.py raytracer'- main.py
top level file responsible for that draws the rendered image
using turtle graphics or using png intermediary image for speed
- world.py
defines the spheres to be rendered, and various configuration parameters
- things.py
defines sphere and vector abstractions, and a few utilitiesNOTE:
If you get the error "ImportError: No module named png" you are probably
on a system that does not support symbolic links. To fix this copy
raytracer_intro/pypng/code/png.py to raytracer_intro/png.py