Level Of Detail // Terrain Rendering episode #7
OGLDEV OGLDEV
9.07K subscribers
4,112 views
0

 Published On Apr 30, 2023

In this video we discuss the creation of patches of different LODs in the Geomipmapping algorithm. We will also learn how to avoid cracks in the terrain through smart placement of indices and maintaining multiple permutations of the same patch based on the LOD of the patch and its neighbors.

"Focus on 3D Terrain Programming" by Trenk Polack: https://www.amazon.com/Focus-Terrain-...

Timecodes:
00:00 Intro
01:14 Creating different LODs
05:09 LOD creation rules summary
06:24 Crack management
10:26 Solving the cracks
12:35 Data structures overview
15:01 Start of code review
17:28 Calculating the number of indices
20:32 Initializing the indices
30:14 The Render function
32:35 Final test and conclusion

Make sure to watch all the previous tutorials in the "Terrain Rendering" playlist at    • Terrain Rendering  

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 'TERRAIN7'.
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:
Do It To Myself (Instrumental) - Atch   / atch-music  
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/3IWvhPI
Music promoted by Audio Library    • Do It To Myself (Instrumental) – Atch...  

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials

show more

Share/Embed