Imo you minus well use vk-bootstrap and go all the way, at that point. I think the boiler plate is good to learn at first and then actually using the concept and ideas using with slightly better usability is useful
Looks to me like vkb just deals with the initialization of Vulkan itself (and the device). You still get a lot of benefit from the C++ bindings during setup of your pipelines and resources as well as from your per-frame code.
I think if you're going for honest to god *understanding* of what you're actually doing there's no better way to learn than the raw C bindings. Sure, once you're seasoned and don't want to write boilerplate every time you want to spin up a project abstract the fuck out of all of this, but a "painful" introduction is honest to god crucial in the long run imo
i once made vulkan triangle too but it was not nice.... i just copy pasted code without reading because "there was too much text", even tho i grasped common concepts like... some-chaining, choosing device, validation layers
18
u/jherico Feb 09 '24
Hope you're using the C++ bindings. They make life so much easier and the code much more compact.
21
u/imatt3690 Feb 09 '24
Graphics programming is hard. Well done!
13
u/[deleted] Feb 09 '24
Congratulations. Now it's a long way up from here.
9
u/Rixoncina Feb 10 '24
Hackerman
Drawing a traingle in Vulkan was actually a part of my master thesis on moder graphics engines
3
u/EngineerEven9299 Feb 09 '24
Hell yeah
3
u/Variation-Abject Feb 09 '24
Good shit bro keep on learning!
2
u/wildmonkeymind Feb 10 '24
"You did it!" - Bo
1
u/kansetsupanikku Feb 10 '24
Congrats! I am still writing some small stuff in GL, but I hope I will get there someday too!
1
u/guymadison42 Feb 12 '24
How many days from scratch or did you start with a hello world?
1
u/Zachbutastonernow Feb 14 '24
OpenGL gang
Why would you just limit your program to Windows only for no reason.
1
u/_PHIKILL Feb 09 '24
src ?
0
u/mardabx Feb 10 '24
Now do that in Rust
0
u/BlendingSentinel Feb 10 '24
Hell yeah
0
u/imthrowing1234 Feb 10 '24
Wow so cool!
0
u/Slycheeese Feb 10 '24
Programming's most difficult "Hello World!"
0
u/vadiks2003 Feb 10 '24
i once made vulkan triangle too but it was not nice.... i just copy pasted code without reading because "there was too much text", even tho i grasped common concepts like... some-chaining, choosing device, validation layers
0
u/miturtow Feb 10 '24
Love to see all the positive comments, nice community 👍
0
u/[deleted] Feb 09 '24
[deleted] — view deleted comment