diobat / ProceduralTerrainGen

An example of a procedural terrain generator working on the FluxLumina engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Procedural terrain generator

PTG_snow

Overview

Welcome to ProceduralTerrainGen, a FluxLumina Example Project!

This project generates geometry and renders contiguous infinite chunks of terrain. It makes use of Perlin noise and Hydraulic Erosion to generate realistic landmasses with visually appealing geographical features.

It also serves as a template to demonstrate the capabilities of FluxLumina, an OpenGL-based rendering engine static library.

Getting Started

Prerequisites

  • openGL (Modern OSes already come with it)
  • CMake (version 3.23 or higher)
  • A C++ compiler

Usage

# Clone the repository
git clone https://github.com/diobat/FluxLumina-template.git

# Go to the project directory
cd FluxLumina-template

# Create a build directory
mkdir build

# Configure the build
cmake -S . -B build

# Build target
cmake --build build --config Release

# Go into target folder
cd build/Release

# Run the target
./FL_PCG.exe

About

An example of a procedural terrain generator working on the FluxLumina engine


Languages

Language:C++ 75.8%Language:GLSL 22.0%Language:CMake 2.3%