I wrote a Ray Tracer from scratch... in a Year
Автор: Jacob Gordiak
Загружено: 2024-06-11
Просмотров: 193837
A simple Ray Tracing Engine in C++ and OpenGL that uses a Bounding Volume Hierarchy (BVH) to speed up the rendering of complex 3D models.
Source code: https://github.com/jakubg05/Ray-Tracing
Useful resources:
Sebastian Lague's video: • Coding Adventure: Ray Tracing
BVH: https://www.pbr-book.org/3ed-2018/Pri...
Ray Bounding box intersections: https://tavianator.com/2011/ray_box.html
3D model credits:
https://github.com/jakubg05/project-c...
🎵Music from Epidemic Sound! Sign up through this link to support the channel and enjoy a discount:
https://share.epidemicsound.com/51v9by
Chapters:
0:00 - Intro
2:09 - The camera
5:05 - Camera types
5:44 - Shooting rays
8:31 - Color gradient
10:03 - GPU acceleration
12:45 - Rendering spheres
15:03 - Materials
17:02 - TraceRay function
20:57 - First proper renders
23:06 - Adding GUI
24:50 - Skybox
25:56 - Triangles
27:27 - Optimizing
28:48 - Bounding Volume Hierarchy
35:38 - Traversing the BVH
39:18 - Splitting boxes
40:51 - Surface Area Heuristic (SAH BVH)
45:23 - Visualizing the BVH
46:10 - Heatmap visualization
48:40 - The Sponza scene
49:13 - Outro
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: