Avokadoen / zig_vulkan

Toying with vulkan and zig
45 stars 1 forks source link
glfw graphics raytracing voxel vulkan zig

frame capture

Zig vulkan renderer

A toy renderer written in zig using vulkan and glfw

Requirements

Zig build toolchain does most of the heavy lifting. The only systems requirement is the Vulkan SDK. Make sure you download Vulkan 1.2 or up

This project also uses latest zig version

Run the project

Do the following steps

$ git clone --recurse-submodules -j4 <repo>
$ cd <folder>
$ zig build run

Or

$ git clone <repo>
$ cd <folder>
$ git submodule update --init --recursive
$ zig build run

Run tests

Currently the code base is not really well tested, but you can run the few tests by doin zig build test

Sources: