learning vulkan from opengl is like when someone who’s only been coding in :javascript: their whole life is now trying not to get a segfault in C
Conversation
Notices
-
Lapin (lapin@varishangout.net)'s status on Thursday, 07-Nov-2024 07:22:01 JST Lapin - :gura_sus: 1e+6 litres :flag_china: likes this.
- :awoo_tired: shotgun snuggler :clownpiece_smug: and :gura_sus: 1e+6 litres :flag_china: repeated this.
-
Lapin (lapin@varishangout.net)'s status on Thursday, 07-Nov-2024 07:37:42 JST Lapin 3 hours on opengl: “i can finally render an image!!”
3 weeks on vulkan: “i can finally render an image!!” -
Lapin (lapin@varishangout.net)'s status on Thursday, 07-Nov-2024 09:01:17 JST Lapin @p11
nah i think it’s worth it just for the sheer challenge alone. (and if my previous 2 posts sounded like i was complaining, rest assured that i really wasn’t)i’m aware of webgpu and while i’m kinda interested in it, the api’s still way too young and not a lot of resources of it yet
-
p (p11@baraag.net)'s status on Thursday, 07-Nov-2024 09:01:18 JST p @lapin Vulkan isn't worth it I guess. Just use wgpu if you want a more modern API.
-
p (p11@baraag.net)'s status on Thursday, 07-Nov-2024 09:54:23 JST p @lapin Not really. I did it once (I think it was the first time I managed to do physics on GPU), but I feel like I didn't learn anything. I would basically start from zero.
I still know the general structure (the nested structs which are supplied to "constructors"), but that's more or less the same in both vulkan and wgpu.
-
Lapin (lapin@varishangout.net)'s status on Thursday, 07-Nov-2024 09:54:23 JST Lapin @p11
well this is where we have to agree to disagree cuz i learned quite a lot (and am glad for it) about the things that opengl abstracts awayit can be quite a pain in the ass but you really just have to reread your own code several times, watch tutorials on youtube (this series in particular is really good), go back and forth reading the specs for it to really and finally click in your head
and as a bonus i got to learn even more about zig‘s std in the process, so that’s cool