DirectX 11 – Terrain

Terrain rendering using DirectX 11.

Terrain’s vertices are generated using procedural method(equation).
Vertex color is assigned to each vertex generated based on the height value(position of the vertex on the terrain) of that vertex. Vertex color is interpolated during rendering pipeline.

Camera can be moved around in the scene.
Back-face culling is disabled.
Uses fixed-axis rotation.

Program file can be downloaded here.

PC requirements: DirectX 11 supported graphics card, Windows 7/8/8.1/10/11, Visual C++ Redistributable Packages for Visual Studio 2013(x86).

Control:
Left-click anywhere in the scene then hold left-click and drag the mouse to move the camera around in the scene.
Double-click to toggle between solid and wireframe mode.
Scroll up and down to zoom in and zoom out.

Platform: Windows
Programming Language: C/C++, HLSL