OpenGL Terrain Generator

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

This is a procedural terrain generator project created in C++ with OpenGL during my 3rd year of university. It consists of a procedurally generated scene with randomly generated terrain, animated water, clouds and altitude based textures.

Being my first experience with procedural mesh generation, I used all previously learnt skills with C++ and OpenGL. Throughout the creation of this generator, I learnt a lot about the use of Perlin Noise and the Diamond-Square algorithm.

This project consists of a procedural generated mountain/island surrounded by animated water with clouds overhead and surounded with a skybox. The mountains are generated using the Diamond-Square algorithm and the intensity was amplified to allow for more dramatic peaks. The water is simply animated using Sine waves (both on a small scale for small ripples and large scale for overall waves). The clouds use a Perlin Noise generator. A skybox is also included and both the mountains and waves transition between textures in their fragment shaders based off height position provided by their vertex shaders. 

Build files to try out the generator are available on this page, source files are available on github at the following link: https://github.com/GameDevChris/OpenGL-Procedural-Terrain-Generator

Platforms
Release date
Developer
Bodsworthcm
Age rating
Not rated

System requirements for PC

Read more...
OpenGL Terrain Generator screenshot, image №3740371 - RAWG
Edit the game info
Last Modified: Jan 20, 2023

Where to buy

itch.io