Skip to content

ThIsJaCk23657689/RayTracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing

This project is for educational purposes. I'm trying to learn more about C++ and ray tracing. Basically, I'm following the book Ray Tracing in One Weekend by Peter Shirley. I'm trying to implement the book's code in C++ and add some features to it. I think I can learn more fantasy things in this program.

Perquisites

  • C++17
  • CMake 3.14

Installation

$ git clone git@github.com:ThIsJaCk23657689/RayTracing.git
$ cd RayTracing
$ cmake -S . -B build/Debug -DCMAKE_BUILD_TYPE=Debug -G Ninja
$ cmake --build build/Debug

Current Result

Current Result

Support multi-threading.

Generate a 1920x1080 image with 500 samples per pixel and a depth of 50. It takes about 30 minutes with 16 threads on x64-release (2 hours and 3 minutes with 16 threads on x64-debug)

CPU: Intel Core i7-10700


Author: ThIsJaCk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors