https://github.com/micahcantor/haskell-raytracer
https://github.com/micahcantor/haskell-raytracer
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/micahcantor/haskell-raytracer
- Owner: micahcantor
- License: mit
- Created: 2021-03-25T18:30:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-22T04:18:15.000Z (over 3 years ago)
- Last Synced: 2025-01-13T18:46:01.643Z (3 months ago)
- Language: Haskell
- Size: 906 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Haskell Raytracer
This repo contains my work-in-progress code for implementing the raytracer described in the book [*The Raytracer Challenge*](https://pragprog.com/titles/jbtracer/the-ray-tracer-challenge/) by James Buck.
Currently I have implemented the code through chapter 14, groups, plus [the bonus chapter on area lights and soft shadows](http://raytracerchallenge.com/bonus/area-light.html).
## Directory structure:
- **src**: Contains the primary raytracer code
- **app**: Contains executables for the exercises at the end of each chapter
- **test**: Contains tests for library code
- **demo**: Contains examples of scenes rendered by the raytracer## Rendered Examples:
### Soft Shadows
### Group Transformations
## TODO
- Triangles/Polygons/OBJ file parser
- Constructive Solid Geometry (CSG)
- YAML Scene parser