r/vulkan • • Jan 07 '24

Vulkan API walkthrough examples you can learn from | Cuda Education

Hi Guys,

I believe the best way to learn how the Vulkan API works is to study and tinker with working code.

Below is a list of videos using the gears.cpp script (freely available on GitHub) to learn how Vulkan works.

Please check them out, and also tell your friends, especially ones that are creatively inclined. Encourage a group of your friends to learn computer graphics.

Enjoy!

prepareVertices() https://youtu.be/6v116UMm6pc?si=cLX1VgM8-f5dfoNt

setupDescriptorSetLayout() https://youtu.be/Z9g37P5zg1Y?si=4znSaRuQlXnqfiJI

preparePipelines() https://youtu.be/7E14_9KL3lU?si=v05W1kNsWjhVxspr

setupDescriptorPool() https://youtu.be/9rXXKzBzDbI?si=V5wjRCh4t8kfzeR6

setupDescriptorSets() https://youtu.be/M72NKj2eNn4?si=pXWziZLLt3GXvYXI

updateUniformBuffers() https://youtu.be/VsgUhVp_GiM?si=RGKod-wfA7EdTvhG

buildCommandBuffers() https://youtu.be/NAq_mprpayg?si=qkDkwqDGrhGkpw89

-Cuda Education

8 Upvotes

6 comments sorted by

6

u/SaschaWillems Jan 09 '24

For those watching these videos and the wanting to try my code: I'm currently refactoring my samples to prepare for an overhaul of how synchronization is handled. As part of that preparation I also heavily refactored this sample, so at least some of these videos may be out of date.

A great resource for actually learning how to use the Vulkan API are the official Khronos samples (I'm working on those too) at https://github.com/KhronosGroup/Vulkan-Samples/

And https://docs.vulkan.org/ is the perfect starting point for getting into the Vulkan API.

-2

u/cudaeducation Jan 09 '24

Thank you for the update. I will redo the videos once the new script is finalized and available.

I also would like to encourage everyone to check out the official resources from the Khronos group.

-Cuda Education

25

u/blogoman Jan 07 '24

I believe the best way to learn how the Vulkan API works is to study and tinker with working code.

People would be better off doing that for themselves instead of watching a guy who repurposes other great educational material to make "explanation" videos where he makes a lot of mistakes.

There are literally videos like this over the course of years but no original content written by this author. It is always stumbling through stuff somebody else has written.

He wants you to spread his content far and wide because he has a side hustle of selling links to the repurposed content on Amazon.

14

u/bags-of-steel Jan 08 '24

"These simple variables that are these vectors that are created it they're all they're all basically on the CPU side on the hard drive / on the SSD / whatever you want to call it [...]"

lol

8

u/waltuh_white2137 Jan 07 '24

Didn't you say you would delete these videos under your last post?

-7

u/Rixoncina Jan 07 '24

Pls dont delete these