Heightmaps // Terrain Rendering episode #1

Описание к видео Heightmaps // Terrain Rendering episode #1

This is the first episode of the 'Terrain Rendering' series. In this video we learn how to load and render heightmaps.

🔥 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!).

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

Timecodes:
00:00 Intro
00:30 Mesh overview
01:13 Heightmap
01:45 Framework overview
04:37 Create a Terrain class
06:21 Loading the heightmap file
08:36 Architecture
08:55 The TriangleList class
12:58 Vertex shader
13:38 Fragment shader
13:46 The Technique class
14:14 Add the shaders and TriangleList to the Terrain class
15:30 Getting the Y value from the heightmap
16:05 Points to triangles
18:05 Height based color
18:47 World scale
19:57 Conclusion

Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at    • OpenGL for Beginners  

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 version of the code that was used for the video checkout the tag TERRAIN1.

Credits:
Music: "Elevate" by https://bensound.com
" 'Shadow Of the Colossus' clip:    • Видео  

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  

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials

Комментарии

Информация по комментариям в разработке