A raytracer written in python.
- Recursive raytracing (Whitted Integrator)
- Multithreaded
- Supports reflective and refractive materials
- Clone this repository:
git clone git@github.com:simplay/pytracer.git
- Install dependencies:
pip install -r requirements
python run.py -s <PATH_TO_SCENE_JSON> --width <WIDTH> --height <HEIGHT>
python run.py -s scenes/box1.json --width 300 --height 300
python run.py --help
- Fork this repository
- Create your feature branch
git checkout -b my-new-feature
- Commit your changes
git commit -am "Add some feature"
- Push to the branch
git push origin my-new-feature
- Create new Pull Request (in your forked repository)
This software is available under the following MIT license.