r/vulkan • • Feb 09 '24

Hell yeah

Post image
380 Upvotes

27 comments sorted by

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.

2

u/liamlb663 Feb 09 '24

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

4

u/jherico Feb 09 '24

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.

2

u/framk20 Feb 10 '24

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

1

u/Simple_Life_1875 Feb 12 '24

The Rust bindings aren't that bad either! Especially Vulkano if you want some added safety :D

Edit: although if it's for learning, nothing else is better to force you to read the docs than stumbling with C haha

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.

7

u/PMadLudwig Feb 09 '24

In my experience, the next steps were much easier.

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/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.

0

u/mardabx Feb 10 '24

Now do that in Rust

1

u/Simple_Life_1875 Feb 12 '24

Wdym? :? Idk if you're saying it's bad or not lol, imo Vulkano is pretty dope

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]

2

u/Zachbutastonernow Feb 14 '24

Bc vulkan is over complicated