Frustum Culling // Terrain Rendering episode #9
Автор: OGLDEV
Загружено: 2023-05-29
Просмотров: 11352
In this video we implement Frustum Culling in order to avoid rendering patches which are outside the camera's field of view.
🔥 See the list of the books that I'm using as background information for my tutorials: https://ogldev.org/books.html. I highly recommend them for learning more about OpenGL and Vulkan. These are affiliate links so if you use them to buy any of the books the price is the same for you and I will get a small commission (thank-you!).
"Focus on 3D Terrain Programming" by Trenk Polack: https://www.amazon.com/Focus-Terrain-...
Timecodes:
0:00 Intro
0:38 Example
2:40 Frustum Culling for terrains
3:33 Recap of the 3D pipeline
5:31 Clipper example
6:42 Method #1: View Space Culling
8:06 Code review
11:02 Demo #1
11:29 Method #2: World Space Culling
16:38 Code review
19:54 A problem with the implementation
20:40 Next steps and outro
Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at • All OpenGL Tutorials
Please visit https://ogldev.org to see more of my tutorials on modern OpenGL.
Link to source: https://github.com/emeiri/ogldev/blob...
If you want to get the same version of the code that was used in the video checkout the tag 'TERRAIN9'.
OpenGL 4.6 specification: https://www.khronos.org/registry/Open...
Feel free to comment below.
Email: ogldev1@gmail.com
Instagram: @ogldev1
Github: https://github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): https://ogldev.org/donate.html
Patreon: / ogldev
Credits:
Track: Eight — Land of Fire [Audio Library Release]
Music provided by Audio Library Plus
Watch: • Eight — Land of Fire | Free Background Mus...
Free Download / Stream: https://alplus.io/eight
Sound effects obtained from https://www.zapsplat.com
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: