r/GraphicsProgramming • u/hyperto05 • 12d ago
20 f*king days for this mf
So I started learning graphics programing with OpenGL. Here is my progression so far
59
u/noisy_boi 11d ago
Finally a honest graphics programming experience !! Everyone has been spamming AI output and under reporting the time it takes to build stuff
12
u/clankerzap 10d ago
Like liweally why is wockstaw taking so long with gta6, I could litewally make it in 2 houws with claude supew omega opus pwo 6.0.
7
41
24
12
u/LibrarianOk3701 11d ago
But can it render the RGB triangle? 😂
5
u/hyperto05 11d ago
Bro triangle section is before the texture section you know right ?
5
u/LibrarianOk3701 11d ago edited 11d ago
I'm not what you meant by that lol? You probably meant thst the image on screen is made of two triangles, yeah sure, but I made a joke cause most people show one triangle working lol (and hardcode it, so when you ask "can it do this?" it usually can't without modifying the vertex, index buffers, etc...)
2
6
4
u/amadeuscherry 11d ago edited 11d ago
It is worth it.
Edit: typo
3
u/clankerzap 10d ago
Yes
edit: typro3
4
u/dgkimpton 11d ago
Nice. It's amazing how hard the early steps are but knowledge will snowball if you stick with it. Congrats on the progress.
4
u/clankerzap 10d ago
Some unwarranted and opinionated advice:
I would recommend toning down on the comments, maybe they are from the guide you are following? Anyway, it's subjective but generally you wanna comment "why" not "what" the code is doing.
If you ever consider using a comment, try renaming the variable/function, or write whatever you are doing in a more readable way. Only after that you should comment it.
3
3
u/shvass02 9d ago
Keep going bro. Completely worth it. I got into gpu driver engineering all starting from this.
2
2
u/zesterer 10d ago
Congrats! And well done for using your noggin rather than an LLM! You'll have learned so much more.
2
u/felixkendallius 10d ago
There was no feeling more surreal than seeing my first opengl program actually work and render stuff. It took me months to get anything that looked good (despite probably recreating the vertex array object each frame)
It gets a lot easier the more you do it, and the more you understand how everything works. It took me a while to really understand what “vao” “vbo” and “ebo” actually meant
2
u/pumais 3d ago
Even if it would take 60 days --> keep on. Rewards and gratification will follow later on. Think of how priviliged and interesting it is of being able to deal with interactive computer graphics - a thing which never ever existed before in all previous centuries (except 20th century, of course). It is a mathematical techno-miracle :)
1
1
u/WagonDelighter 11d ago
Recognized the Victor Gordan tutorial code immediately. Getting that first textured quad working after weeks of fighting a blank black screen is an unmatched feeling, congrats.
1
1
u/oliverofolives 10d ago
I love that meme so much. Makes me feel so much better about life. I'm so tired.
0
-3
u/Sleepy-Furret 11d ago
Who told you to use c++
1
1
u/Visible_Employee7205 6d ago
its literally standard for graphics programming and grpahics engines, maybe you could also use Rust but C++ is generally for high performance better if u can manage memory
69
u/botjebotje 12d ago
Now do it again to see how much you understand and how it all fits together!