Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasballinger/raytracing
Python raycaster
https://github.com/thomasballinger/raytracing
Last synced: about 1 month ago
JSON representation
Python raycaster
- Host: GitHub
- URL: https://github.com/thomasballinger/raytracing
- Owner: thomasballinger
- Created: 2012-02-28T20:26:25.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-05T22:00:16.000Z (almost 13 years ago)
- Last Synced: 2024-12-16T13:43:29.726Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 4
- Watchers: 3
- 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