OpenGL demo project is used to discover modern:
- Toolchain
- C++
- OpenGL
- Instances of patches, with position & offset from vertex shader
- Camera based LOD, using GPU tessellation
- Procedural height from GPU combined noise functions
Prerequisites:
- dependencies: pkg-config xorg-dev libx11-xcb-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-dri3-dev libxcb-util-dev
- build system generator: cmake
- build system: ninja
- compiler: clang++
- package manager: conan
conan install . -if build/ -s build_type=Debug -s compiler=clang -s compiler.version=10 -s compiler.libcxx=libstdc++11 -e CC=clang -e CXX=clang++ -b outdated
sh setup.sh
CC=clang CXX=clang++ cmake -G Ninja -S . -B build/
sh configure.sh
cmake --build build
sh build.sh
./build/bin/demo
sh run
- Textures of Stunt Rally 2.3 from opengameart.org