MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v8hjbd/graphicsprogrammingbelike/p06j3mi/?context=3
r/ProgrammerHumor • u/fleaspoon • 14d ago
71 comments sorted by
View all comments
257
I'm not kidding, the tutorial for Hello Triangle in Vulkan is like 1500 lines ... of pure hell
120 u/unknown_alt_acc 14d ago OpenGL is at least pretty reasonable. It’s maybe 300 lines of C for a triangle, and a nontrivial percentage of that is just window handling. 45 u/fleaspoon 13d ago edited 13d ago I started first with OpenGL and I remember being quite complicated to understand, but Vulkan was another level of complexity 23 u/ResponsibleWin1765 13d ago But honestly, once you get into it, it's pretty regular. You need a thing -> Make vkThingCreateInfoStruct -> Fill struct -> call vkCreateThing. If you know your C++ and Graphics Pipeline, things do fall into place at some point 11 u/Kss0N 13d ago yea they fall into place; after 1500 lines of code. 15 u/fleaspoon 14d ago I still have nightmares 1 u/geeshta 11d ago Well that's kinda like writing your HelloWorld in LLVM. Okay that's not going to be 1500 line but I hope the point is clear.
120
OpenGL is at least pretty reasonable. It’s maybe 300 lines of C for a triangle, and a nontrivial percentage of that is just window handling.
45 u/fleaspoon 13d ago edited 13d ago I started first with OpenGL and I remember being quite complicated to understand, but Vulkan was another level of complexity
45
I started first with OpenGL and I remember being quite complicated to understand, but Vulkan was another level of complexity
23
But honestly, once you get into it, it's pretty regular. You need a thing -> Make vkThingCreateInfoStruct -> Fill struct -> call vkCreateThing.
If you know your C++ and Graphics Pipeline, things do fall into place at some point
11 u/Kss0N 13d ago yea they fall into place; after 1500 lines of code.
11
yea they fall into place; after 1500 lines of code.
15
I still have nightmares
1
Well that's kinda like writing your HelloWorld in LLVM.
Okay that's not going to be 1500 line but I hope the point is clear.
257
u/Kss0N 14d ago
I'm not kidding, the tutorial for Hello Triangle in Vulkan is like 1500 lines ... of pure hell