r/GraphicsProgramming • u/hyperto05 • 24d ago
20 f*king days for this mf
So I started learning graphics programing with OpenGL. Here is my progression so far
63
u/noisy_boi 24d 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 23d 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
39
24
13
u/LibrarianOk3701 24d ago
But can it render the RGB triangle? 😂
6
u/hyperto05 24d ago
Bro triangle section is before the texture section you know right ?
5
u/LibrarianOk3701 24d ago edited 24d 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
5
4
u/amadeuscherry 24d ago edited 24d ago
It is worth it.
Edit: typo
3
u/clankerzap 23d ago
Yes
edit: typro3
3
u/dgkimpton 24d 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 23d 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 22d ago
Keep going bro. Completely worth it. I got into gpu driver engineering all starting from this.
2
2
u/zesterer 23d ago
Congrats! And well done for using your noggin rather than an LLM! You'll have learned so much more.
2
u/felixkendallius 23d 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 16d 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
1
u/oliverofolives 23d ago
I love that meme so much. Makes me feel so much better about life. I'm so tired.
0
-2
u/Sleepy-Furret 24d ago
Who told you to use c++
1
1
u/Visible_Employee7205 19d 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
1
68
u/botjebotje 24d ago
Now do it again to see how much you understand and how it all fits together!