Skip to content

Project to learn about ray tracing, C++, and computer graphics. Follows the "Ray Tracing in One Weekend" book.

License

Notifications You must be signed in to change notification settings

gregheiman/ray-tracing-in-one-weekend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing In One Weekend

C++ project following the "Ray Tracing in One Weekend" book. Used to learn more about ray tracing, C++, and computer graphics.

This program is built and tested only on Linux (Fedora 34). As such can not guarantee compatibility with other operating systems.

Prerequisites

  • Make (Tested using 3.81)
  • A C++ compiler (Tested using g++ and clang++)
  • An image viewer that can read .ppm file formats (Ex. feh on Linux)
  • A terminal from which to build and run the program

How to Run the Project

  1. Clone the project to your computer
  2. Navigate into the project directory
  3. Run the following command: make
  4. Run the project with the following command: ray_tracer
    • If you would like to pipe the programs output to a file simply use the following command on Unix systems: ray_tracer > image.ppm

About

Project to learn about ray tracing, C++, and computer graphics. Follows the "Ray Tracing in One Weekend" book.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published