mikeroyal / 3D-Terrain-Generation

Terrain generated uses a heightmap that is converted into a 3D mesh with textures applied. A Heightmap is a raster image used to store values(surface elevation data) for display in 3D graphics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3D Terrain Generation

In this Terrain generation example a heightmap is used. A Heightmap is a raster image used to store values, such as surface elevation data, for display in 3D computer graphics. A heightmap can be used in bump mapping to calculate where this 3D data would create shadow in a material, in displacement mapping to displace the actual geometric position of points over the textured surface, or for terrain where the heightmap is converted into a 3D mesh.

Height Map and Terrain

terrain terrain

To run this terrain generation example you will need to install the following software.

DirectX Software Development Kit

Visual Studio 2015 or later

Tools to create Custom Heightmaps

Rendering Height maps in Unity

Creating and Using Custom Heightmaps and Layers in Unreal Engine 4 (UE4)

QGIS

koordinates

Earth Explorer (USGS)

Developing with Vulkan

Vulkan is a new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs in both PCs and on mobile platforms. Android 7.0 AKA Nougat brings official support for the Vulkan API.The main benefit of Vulkan over older mobile rendering APIs such as OpenGL ES 3.x is speed. Vulkan is designed to take advantage of multiple CPU cores by allowing the application to build command lists in multiple threads in parallel. This allows the application to take advantage of all of the CPU cores on the device, improving performance.

vulkan-api

About

Terrain generated uses a heightmap that is converted into a 3D mesh with textures applied. A Heightmap is a raster image used to store values(surface elevation data) for display in 3D graphics.

License:MIT License


Languages

Language:C++ 94.4%Language:HLSL 4.0%Language:C 1.6%