Use the following command to build and run the executable target.
cmake -B build
cmake --build build
./build/bin/glTessellation
- C++20 compiler (to use Mathematical constants) :
- VS 2019 16.5
- GCC 10+ or Clang 11+
- CMake for build system creation (>= 3.8)
- Conan for install packages (>= 1.0)
My scene renders a sphere whose vertices are modified by a geometry shader, to look like a "planet". And the color is added according to the height of the vertex.
The camera can move in space.
- The sphere initially sent does not have many triangles.
- When the camera gets closer, we see the planet starting to become more detailed.
- When the camera is very close we see a very well defined planet.