Skip to content

simplay/pytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyracer

Alt Text

A raytracer written in python.

Features

  • Recursive raytracing (Whitted Integrator)
  • Multithreaded
  • Supports reflective and refractive materials

Setup

  1. Clone this repository: git clone git@github.com:simplay/pytracer.git
  2. Install dependencies: pip install -r requirements

Usage

python run.py -s <PATH_TO_SCENE_JSON> --width <WIDTH> --height <HEIGHT>

Example Usage

python run.py -s scenes/box1.json --width 300 --height 300

Show Help

python run.py --help

How to contribute to this Project

  1. Fork this repository
  2. Create your feature branch git checkout -b my-new-feature
  3. Commit your changes git commit -am "Add some feature"
  4. Push to the branch git push origin my-new-feature
  5. Create new Pull Request (in your forked repository)

License

This software is available under the following MIT license.

Releases

No releases published

Packages

No packages published

Languages