Skip to content

clementpickel/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RayTracer

RayTracer in C++

Overview

This is a simple RayTracer implemented in C++. It follows the principles outlined in the books "Ray Tracing in One Weekend" and "Ray Tracing: The Next Week".

How to Start

To compile and run the RayTracer, follow these steps:

  1. Clone the repository:

    git clone https://github.com/clementpickel/RayTracer.git
  2. Navigate to the project directory:

    cd RayTracer
  3. Compile the source code:

    g++ src/main.cpp -o rayTracer
  4. Run the executable:

    ./rayTracer > output_file.ppm

This will generate the rendered image using the implemented RayTracer.

Result

Rendered Image

Resources

Feel free to explore the provided resources for a deeper understanding of ray tracing concepts.

Acknowledgments

This project is inspired by the educational resources and books mentioned above. Special thanks to the authors, Peter Shirley, Trevor David Black and Steve Hollasch for their excellent work in making ray tracing accessible and enjoyable.

About

Raytracer in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages