https://github.com/thomasballinger/raytracing
Python raycaster
https://github.com/thomasballinger/raytracing
Last synced: 3 months ago
JSON representation
Python raycaster
- Host: GitHub
- URL: https://github.com/thomasballinger/raytracing
- Owner: thomasballinger
- Created: 2012-02-28T20:26:25.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-05T22:00:16.000Z (over 13 years ago)
- Last Synced: 2025-04-02T12:54:43.604Z (3 months ago)
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Raycasting
----------Features:
* Ambient, specular, and diffuse light
* Spheres, planes
* Multiple views
To Do:
* more flexible checkerboard (checker size based on defining vectors)
* finite planes (triangles, squares)
* Optimize diffuse light (no need to look up at each bounce)
fuzzy light hashing -
right now light gets calculated many times for very similar intersections.* Optimize until realtime ascii rendering is possible
* refactor to use origin, vector representations instead of rays, and
factor out everything mathy* figure out proper way to add light - logarithmically, I imagine?
Not planning to impement at this time:
* Color - light emitted from an object - color = green