Overview
Dive into a comprehensive video tutorial on implementing a full global illumination path tracer from scratch in just 250 lines of C++ code. Learn how to compress complex rendering knowledge into a compact program, covering topics such as vector class, object and sphere representation, perspective camera, uniform sampling, trace function, intersection routine, diffuse, specular, refraction, and reflection. Follow along with the main function and loop implementation, and discover how to create a ppm file. Download the complete implementation and explore the course materials from TU Wien's rendering lectures, which provide an in-depth overview of basic and state-of-the-art rendering methods, including ray tracing, photon mapping, and Monte Carlo techniques. Gain a solid understanding of geometric optics, light interaction with surfaces and media, and camera models to enhance your skills in creating rendering programs.
Syllabus
Intro
Overview
End Result
Vector class
Object representation
Sphere representation
Perspective camera
Uniform sampling
Trace function
Intersection routine
Diffuse
specular
refraction
reflection
main function
main loop
ppm file
Taught by
Two Minute Papers