Home

Awesome

About

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

There are no complex abstractions aka "engine", however a small library of shared code is still used. The goal is to keep things easy to understand while taking away some of the boilerplate.

All demos are intended to run on Windows and were not tested on other systems.

Check also https://github.com/0xc0dec/demo-rs - an alternative experiment in Rust.

Building and running

Controls

Some demos use first person camera. Use WASDQE keys to move around and hold right mouse button to rotate.

Demos

Dear ImGui [VK/GL]

Basic Dear ImGui integration example.

Image

Transform [GL]

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 [GL]

TrueType font rendering using stb_truetype library.

Image

To be continued?...

Dependencies