Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Avokadoen/zig_vulkan
- Owner: Avokadoen
- Created: 2021-06-14T21:06:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T19:01:00.000Z (9 months ago)
- Last Synced: 2024-05-03T08:33:21.702Z (6 months ago)
- Topics: glfw, graphics, raytracing, voxel, vulkan, zig
- Language: Zig
- Homepage:
- Size: 7.06 MB
- Stars: 43
- Watchers: 3
- Forks: 1
- Open Issues: 76
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zig - Avokadoen/zig_vulkan
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