efyang / vulkan-rendering-journey

A collection of vulkan renderers, from triangle drawing to global illumination.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vulkan-rendering-journey

A collection of vulkan renderers, from triangle drawing to global illumination.

Roughly following Brendan Galea's tutorials at the moment.

Dependencies

  • GLFW 3
  • vulkan dev headers

Build and Run Instructions

This project is using meson since it seemed easiest at the time. To build and run the triangle project (others follow similarly):

cd triangle
meson output
meson compile -C output
./output/triangle

These instructions can be very mildly simplified after mesonbuild/meson#9584 is solved.

For (probably) optimal performance and using clang+mold:

cd triangle
CC=clang CXX=clang++ CC_LD=mold CXX_LD=mold meson output
meson compile -j8 -C output
./output/triangle

Reference Links

About

A collection of vulkan renderers, from triangle drawing to global illumination.

License:MIT License


Languages

Language:C++ 78.4%Language:Cuda 16.5%Language:GLSL 2.1%Language:Meson 1.4%Language:CMake 1.0%Language:Rust 0.4%Language:C 0.1%Language:Shell 0.1%