Ray Tracing in C++: Setting the Scene @s0lly
Ray Tracing in C++: Setting the Scene  @s0lly
Uploaded June 2019 | Updated September 2026, 2 hours ago
This video demonstrates what I've learned from the book "Ray Tracing in a Weekend" by Peter Shirley. He explains things in a very easy to understand manner, and it's amazing what you can get done in just a short space of time. From picking up the book to creating this video took less than 24 hours.

In addition to what is presented in the book, I've implemented the ray tracer in a live setting and with a movable camera which gives it a "live" feeling. The book version is effectively based on higher quality static image generation - but this feels a bit more fun ;p

I've fast forwarded the video by a small amount to compensate for OBS slowing things down a touch - the engine runs just fine. That being said, I haven't implemented multithreading and random number generation correctly here - something for me to figure out!


Acknowledgements:

The ray tracer approach and code is based on that provided in the book "Ray Tracing in One Weekend" by Peter Shirley. Highly recommended reading!

This was made using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili!

Music by Eric Skiff, song "All of Us" for the intro and "HHavok-main" for the main sequence. (Available at EricSkiff.com/music)
Ray Tracing in C++: Setting the SceneKrazy Karts Intro (COMING SOON)Channel SoundtrackGame Engine 22: Simple DronesOpenGL Engine - Showcase 5: Particle EffectsSimple 2D Game Engine in C++: Draft 4 - Advanced PhysicsFirst Games in C++: Krazy Karts (v0.79) - Jumps!Pseudo 3D Graphics Engine! [v2 - Sprite Animation]Building PlatformsOpenGL Engine - Showcase 1: 10k CubesFirst Games in C++: Krazy Karts (v0.1)TexCells! A Game in Excel
s0lly |

Ray Tracing in C++: Setting the Scene

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER