Skip to content

JJOC0205/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray-Tracer

This project follows the Ray Tracing in One Weekend book by Peter Shirley, Trevor David Black, and Steve Hollasch. All credit for the base souce code belongs to them. Some small syntactic changes were made, but beyond that all credit belongs to them for the base project.

Future changes may be made that include the latter books, or parallelization. These have yet to be implemented at this time.

How to Use

  1. Clone this repository with git clone https://github.com/JJOC0205/ray-tracer.git
  2. Enter directory with cd ray-tracer from download location.
  3. Compile with ./run.sh
  4. Run with with one of the following:
    • ./a.out > render.ppm for file formatted for .ppm file (Recommended). The .ppm file name is not required to be "render".
    • ./a.out for raw values rather than the image itself

About

Ray Tracer made in C++ for simple renders following the Ray Tracing in One Weekend book.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors