Ground Collision Detection // Terrain Rendering episode #10
Автор: OGLDEV
Загружено: 2023-06-13
Просмотров: 5589
Описание:
In this video we use binlinear interpolation on the hightmap to find the hight at the position of the camera so we can properly move it at the ground level.
🔥 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-...
Alternative method by @ThinMatrix: • OpenGL 3D Game Tutorial 22: Terrain Collis...
Timecodes:
0:00 Intro and background
1:53 Bilinear interpolation
2:56 Alternative method by ThinMatrix
3:43 Code review
6:12 Fake walking
6:58 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 'TERRAIN10'.
OpenGL 4.6 specification: https://www.khronos.org/registry/Open...
Feel free to comment below.
Email: [email protected]
Instagram: @ogldev1
Github: https://github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): https://ogldev.org/donate.html
Patreon: / ogldev
Music credits:
----
Scandinavianz - Visby
Creative Commons - Attribution 3.0 Unported (CC BY 3.0)
Free Download: hypeddit.com/scandinavianz/visby
---
Almost There by Artificial.Music / artificial-music Creative Commons — Attribution 3.0 Unported — CC BY 3.0 Free Download: https://bit.ly/3WwcxwW Music promoted by Audio Library
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: