Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gyc0123/VulkanTutorial

Open more actions menu
 
 

Repository files navigation

Vulkan Tutorial Fork

This fork simplifies running the original Vulkan tutorial. You can execute everything with just a few commands or by using the all_in_one_click.bat file.

Getting Started

Follow the steps below to set up and run the project:

Requirements

Step 1: Install Vulkan SDK

Download and install the Vulkan SDK with the following commands:

curl -O https://sdk.lunarg.com/sdk/download/1.3.290.0/windows/VulkanSDK-1.3.290.0-Installer.exe
VulkanSDK-1.3.290.0-Installer.exe --accept-licenses --default-answer --confirm-command install

Step 2: Clone Third-Party Packages as Git Submodules

Add the necessary third-party packages as submodules by running:

git submodule add https://github.com/glfw/glfw.git external/glfw
git submodule add https://github.com/g-truc/glm.git external/glm
git submodule add https://github.com/tinyobjloader/tinyobjloader.git external/tinyobjloader
git submodule add https://github.com/nothings/stb.git external/stb_image

Step 3: Configure CMake and Build the Project

To configure and build the project, follow these steps:

mkdir build
cmake -S ./code -B build
cmake --build build

Step 4: Run the Program

To run the program, execute the following:

python test.py

Note: If you're using all_in_one_click.bat, you might need to run it multiple times. After installing the Vulkan SDK, the terminal needs to restart for CMake to recognize the Vulkan environment variables.

About

Build and Run vulkantutorial examples in one click

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.3%
  • Python 0.6%
  • CMake 0.5%
  • GLSL 0.3%
  • Batchfile 0.1%
  • Shell 0.1%
  • TeX 0.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.