normark / demos

OpenGL and Vulkan graphics experiments and samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

Graphics demos made for learning and playing around with. The code is (hopefully) clean and self-documented, all dependencies are included for easier building.

There are no complex abstractions aka "engine", but a small library of shared code is still used. The goal is to keep things easy to understand while taking away as much boilerplate stuff as possible.

Building and running

  • cd build.
  • cmake -G "Visual Studio 16 2019" -A x64 .. (or run a build script from the folder, e.g. gen-msvc-2017-x64.cmd).
  • Build using the generated IDE files.
  • Run executables from build/bin/<Debug|Release>/.

Controls

Some demos use first person camera. Use W-S-A-D-Q-E keys to move and hold right mouse button to rotate.

Demos

Dear ImGui [VK/GL]

Basic Dear ImGui integration example.

Image

Object transform hierarchies and (first person) camera via reusable Transform and Camera classes and a helper spectator function.

Image

Skybox [GL]

Skybox rendering on a single quad mesh using a bit of shader magic.

Image

TrueType font rendering using stb_truetype library.

Image

To be continued...

Dependencies

  • stb_truetype
  • stb_image
  • SDL
  • GLEW
  • glm
  • Dear ImGui

About

OpenGL and Vulkan graphics experiments and samples


Languages

Language:CMake 98.0%Language:Batchfile 2.0%