OpenGL 3D Game Tutorial 22: Terrain Collision Detection
LWJGL tutorial series on how to create a 3D Java game with OpenGL!
Simple terrain collision detection this week!
Barycentric function: https://www.dropbox.com/s/0md240yyc359ik3/code.txt?dl=0
Download the heightmap:
https://www.dropbox.com/s/dcul3fnrnejue7x/heightmap.png?dl=0
Models and Textures:
https://www.dropbox.com/sh/ufem6k9nzbw9hkb/AAD7gB1Dg6nMT8XTlkmPBC3Sa?dl=0
Support the series on Patreon: https://www.patreon.com/thinmatrix
Facebook Page: https://www.facebook.com/thinmatrix
Tumblr: http://thinmatrix.tumblr.com/
Instagram: http://instagram.com/thin_matrix
Twitter: https://twitter.com/ThinMatrix
Check out my game on IndieDB: http://www.indiedb.com/games/equilinox
End of video music- Kai Engel, "Waking Stars":
http://freemusicarchive.org/music/Kai_Engel/Evening_Colors/01_-_Waking_Stars