An interactive 3D terrain simulation written in C++ using OpenGL 4 and Qt 5. The main features include:
- Procedurally generated terrain and forests.
- Continuous level of detail: Terrain chunks farther away from the camera are rendered with less detail (triangles). The LODing is done entirely on the GPU using tessellation shaders.
- Single-plane terrain texture and light mapping.
- Static mesh loading and rendering system.
- Simple animated water.
- Customizable settings menu.
- Qt Quick integration.
Note: The project may build and run with different configurations. The following are only guarunteed to work.
- Build Machine
- C++ Toolchain: GCC 4.9.2+ | MSVC 14.0+
- Qt: 5.5+
- Target Machine
- OS: Windows 7+ | Ubuntu 15+ | Android 6.0+ (coming soon)
- OpenGL: 4.3+
Simply open Terrain3D.qbs in Qt Creator and hit build. When running from the IDE, make sure the working directory is set to <root_path_to_terrain3d>/Deployment/Bin/. Otherwise none of the relative resource paths will work.