Week 18 - Bounding Volume Hierarchies
Today we talked about raytracing and how hardware accelerated raytracing works. You construct a data structure called a BVH and pass it to an RTX-enabled graphics card and allow it to do the math to see where a ray intersects with a solid object. With a minimum of one ray per pixel (it often works out to a lot more, but you can do less if you're doing temporal tricks) you can find out what geometry is to be drawn at that point.
Raytracing flips the standard way of rasterizing around. Rather than triangles producing sets of pixels that get drawn (and overdrawn) to a screen buffer and depth buffer, which doesn't scale very well if you have a lot of triangles drawing to the same spot on the screen, with raytracing you start with all the pixels that are to be drawn, and figure out what triangles are there instead.
Other Videos By Bill Kerney
2021-07-13 | Week 2 Lecture 2 - Lloyd's Algorithm and Collision Detection |
2021-07-13 | Week 2 Lecture 2 - Landscaping |
2021-07-12 | Week 2 Lecture 1 - More C++ |
2021-07-12 | Week 2 Day 1 - Advanced Materials |
2021-07-09 | Week 1 Day 2 - A Little Advanced C++... |
2021-07-09 | Week 1 Lecture 4 - Materials in UE4 |
2021-07-09 | Week 1 Day 3 - Lighting |
2021-07-07 | Week 1 Day 1 - Voroni Diagrams |
2021-07-07 | Week 1 Lecture 2 - Intro to Unreal Engine |
2021-07-07 | Week 1 Day 1 - Welcome to IS50A |
2021-05-15 | Week 18 - Bounding Volume Hierarchies |
2021-05-14 | Week 18 Day 3 - Use Cases |
2021-05-13 | Week 18 Day 2 - Final Presentations |
2021-05-13 | Week 18 Day 2 - Hyperthreading |
2021-05-12 | Week 18 Day 2 - Graph Adjacency Lists |
2021-05-12 | CSCI 41 Study Session: BSTs |
2021-05-12 | Week 17 Day 2 - The Development Process and AI |
2021-05-11 | Week 18 Day 1 - Shaders, Rasterization |
2021-05-11 | Week 18 Day 1 - Sockets Programming |
2021-05-10 | Week 18 Day 1 - EC, BST deletes, Graphs |
2021-05-08 | Week 17 - Making a 2.5D Game (Wolfenstein-style) from Scratch |