Skip to content

Latest commit

 

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray-tracer-Cpp

Prerequisites for the device:

The following are expected in the system:

  • An instance of MinGW installed in the system (The msys64 installation recommended)
  • CMake installed in the system (This project uses version 4.3.1)
  • Windows (.bat files used here)

To run the project (These steps are to run it in powershell):

  • To build the project

    ./build.bat
  • To run the project

    ./run.bat

All relevant images in another markdown: ALL IMAGES

The very first output

The very first output

The first ray traced sphere with surface normal mapped (background is a lerp from blue to white)

Sphere with surface normals

Final render with defocus blur

Final render

About

Fun vacation project so I don't get bored. No extra libraries needed. Followed the ray tracing in one weekend book for this. :1

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages