Skip to content

This project implements a basic ray tracer in C++, following the concepts outlined in the renowned book "Ray Tracing in One Weekend" by Peter Shirley.

Notifications You must be signed in to change notification settings

AdityaPawar162/RayTracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing Project

This project involves ray tracing implementation in C++ to generate realistic images through simulating the behavior of light. Ray tracing is a rendering technique used to generate images by tracing the path of light as pixels in an image plane and simulating the effects of its encounters with virtual objects in a scene.The primary goal of this project is to provide a practical implementation of the concepts discussed in the book "Ray Tracing in One Weekend" by Peter Shirley.

Prerequisites

Make sure you have the following installed on your system:

  • C++ compiler
  • CMake
  • PPM Viewer

Build Instructions

  1. Clone the Repository:
    git clone https://github.com/AdityaPawar162/Projects.git
    cd RayTracing
    
  2. Build the Project:
    bash build.sh
  3. Go to Build:
    cd build/
    

Running the Executable

Once the build process is complete, run the executable using the following command:

./src/main >> image_number.ppm

About

This project implements a basic ray tracer in C++, following the concepts outlined in the renowned book "Ray Tracing in One Weekend" by Peter Shirley.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published