Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Procedural Terrain Generator

Preview

This project is a showcase of procedural terrain generation using OpenGL and C++. It features dynamic terrain creation, customizable variables through a GUI, terrain traversal, texture/color variation, and selectable biome presets.

Preview Image

Video Demos

Multi-threaded infinite terrain generation speed, the chunk generation is sent off to a separate thread in order to allow the main thread to continue displaying the terrain. As you can see from the fps counter in the top right, the fps remains relatively stable for a large terrain. Multi-threaded terrain generation

Playing with the colors and textures: Color and texture variation

Trying out different biome presets: Presets

Changing the Perlin noise parameters: Perlin noise parameters

Controls

Input Action
ESC Switches cursor mode
E Toggle wireframe mode
W Move forward
A Move left
S Move backward
D Move right
SPACE Move up
LCTRL Move down
LSHIFT Move faster

Building

Dependencies

Building

mkdir build && cd build && cmake .. && make

Running

./terrain

Credits

About

A Procedural Terrain Generator built in C++ with OpenGL for COMP 371

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages