GitHunt
JE

jeesooxkim/ray-tracer

Ray tracing implementation based on Ray Tracing in One Weekend.

Ray Tracer

Ray tracing implementation based on Ray Tracing in One Weekend.

Run this code

  1. Compile: g++ -o main main.cpp
  2. Run and pipe into ppm file: ./main > image_name.ppm
  3. View file: for MacOS open image_name.ppm, for Windows feh image_name.ppm

Sample Output

IMG_3845

The final output of this project was the following image with spheres with randomized material and color. All output ppm files are included in the `output` folder of this repository, but are screenshotted here for convenience.

Process Screenshots

Screenshot_20230119_084723

Screenshot_20230119_084735

Screenshot_20230119_084744

Screenshot_20230119_084754

Screenshot_20230119_084808

Screenshot_20230119_084833

Screenshot_20230119_084843

Screenshot_20230119_084859

Screenshot_20230119_084911

Screenshot_20230119_084924

Screenshot_20230119_084943

Screenshot_20230119_084950

Screenshot_20230119_090025

Languages

C++100.0%

Contributors

Created October 31, 2021
Updated May 26, 2022