Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thomasballinger/raytracing

Python raycaster
https://github.com/thomasballinger/raytracing

Last synced: about 1 month ago
JSON representation

Python raycaster

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