Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Avokadoen/zig_vulkan

Toying with vulkan and zig
https://github.com/Avokadoen/zig_vulkan

glfw graphics raytracing voxel vulkan zig

Last synced: 3 months ago
JSON representation

Toying with vulkan and zig

Awesome Lists containing this project

README

        

![frame capture](screenshot.png)

# 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](https://www.lunarg.com/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
```bash
$ git clone --recurse-submodules -j4
$ cd
$ zig build run
```

Or

```bash
$ git clone
$ cd
$ 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:

* Vulkan fundementals:
* https://vkguide.dev/
* https://vulkan-tutorial.com
* Setup Zig for Gamedev: https://dev.to/fabioarnold/setup-zig-for-gamedev-2bmf
* Using vulkan-zig: https://github.com/Snektron/vulkan-zig/blob/master/examples