2022-01-13 22:06:09 +00:00
|
|
|
# Vulkan Renderer
|
|
|
|
|
2022-01-18 20:28:25 +00:00
|
|
|
Created with Qt 5 and the help of <https://vulkan-tutorial.com>
|
|
|
|
and <https://vkguide.dev/> and <https://doc.qt.io/qt-5/>.
|
|
|
|
|
2022-01-13 22:06:09 +00:00
|
|
|
## Building
|
|
|
|
|
2022-01-18 20:28:25 +00:00
|
|
|
Needs cmake 3.21+, C++20 compiler, Qt 5.10+
|
2022-01-13 22:06:09 +00:00
|
|
|
|
2022-01-18 22:41:21 +00:00
|
|
|
```shell
|
|
|
|
cmake -B build
|
|
|
|
sh -c 'cd build && make'
|
|
|
|
```
|
|
|
|
|
2022-01-13 22:06:09 +00:00
|
|
|
## Usage
|
|
|
|
|
2022-01-18 22:41:21 +00:00
|
|
|
Run in your terminal:
|
|
|
|
```shell
|
|
|
|
build/VulkanCppSetup
|
|
|
|
```
|
|
|
|
|
|
|
|
Note: Program needs to be run from the project directory
|
|
|
|
(parent directory of `shaders`), because the shader files are
|
|
|
|
loaded based on the working directory.
|
|
|
|
|
|
|
|
ESC (or any `QKeySequence::Quit`) to quit
|
2022-01-20 22:39:48 +00:00
|
|
|
|
|
|
|
Use the mouse to click & drag together with WASD to.. make art?
|