Skip to content

Jonathan5108/TerrainRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TerrainRenderer

Not fully functional as of yet, having some issues with dependencies not resolving... Inspiration for a substantial portion of this renderer taken from OpenGL's learnopengl tutorial.

Overview

TerrainRenderer is a C++ application that renders a terrain from a height map image using OpenGL. The project demonstrates the following OpenGL Functionalities: loading height maps, generating vertex and index buffers, compiling shaders, and rendering 3D terrain scenes; thus providing a basic framework into Terrain Rendering techniques.

Building and Running the Project

Dependencies: Need to have CMake, MinGW (GCC and G++), GLFW, and GLEW installed on your system. Initialize the build process by creating a build directory, running CMake, and compiling the project with make:

  1. Clone the repository:
  2. Install dependencies and set up your environment. Ensure MinGW is added to your system PATH through System Environmental Variables .
  3. Create a build directory and compile the project
  4. Run the application with the specified path to the heightmap.

Performance: Should be able to handle 1024x1024 heightmaps on mid-range cpus fairly smoothly. Vertex buffer objects and element buffer objects were used for data management and rendering.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages