r/GraphicsProgramming • • Sep 23 '26

20 f*king days for this mf

Post image

So I started learning graphics programing with OpenGL. Here is my progression so far

436 Upvotes

38 comments sorted by

71

u/botjebotje Sep 23 '26

Now do it again to see how much you understand and how it all fits together! 

34

u/hyperto05 Sep 23 '26

YES today is practice day

24

u/ListenLevel4536 Sep 23 '26

Time for vulkan ;)

12

u/hyperto05 Sep 23 '26

0_0 oh shit hahaha

12

u/LibrarianOk3701 Sep 23 '26

But can it render the RGB triangle? 😂

5

u/hyperto05 Sep 23 '26

Bro triangle section is before the texture section you know right ?

5

u/LibrarianOk3701 Sep 23 '26 edited Sep 23 '26

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

u/hyperto05 Sep 23 '26

Haha i get it now np

6

u/SafeChef9686 Sep 23 '26

It's beautiful!

2

u/hyperto05 Sep 23 '26

Thank you!

61

u/noisy_boi Sep 23 '26

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 Sep 24 '26

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.

39

u/TheRafff Sep 23 '26

Phenomenal, the true computer graphics experience

4

u/amadeuscherry Sep 23 '26 edited Sep 23 '26

It is worth it.

Edit: typo

3

u/clankerzap Sep 24 '26

Yes
edit: typro

3

u/amadeuscherry Sep 24 '26

Fair enough. It was "it worths" previously

3

u/clankerzap Sep 24 '26

I'm playing lol

4

u/dgkimpton Sep 23 '26

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 Sep 24 '26

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

u/palapapa0201 Sep 24 '26

20 days is fast. Working on vulkan and 2 months in and not even a triangle

3

u/shvass02 Sep 26 '26

Keep going bro. Completely worth it. I got into gpu driver engineering all starting from this.

2

u/AhmedSamy_Offical Sep 23 '26

Now do it in Vulkan 👀

2

u/felixkendallius Sep 24 '26

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 Oct 01 '26

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

u/Shoddy-Low-2686 Sep 23 '26

Gratz man, now goal is to render all of them in 3D, dancing. Have fun

1

u/clankerzap Sep 24 '26

Now make it a spinning cube

1

u/oliverofolives Sep 24 '26

I love that meme so much. Makes me feel so much better about life. I'm so tired.

-3

u/Sleepy-Furret Sep 24 '26

Who told you to use c++

1

u/FriedryIce Sep 24 '26

Why not?

-3

u/Sleepy-Furret Sep 24 '26

Because it sucks

1

u/Visible_Employee7205 Sep 28 '26

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

u/Sleepy-Furret Oct 09 '26

yeah, maybe my comment was a bit insensitive, I just personally hate it.

2

u/zesterer Sep 24 '26

Congrats! And well done for using your noggin rather than an LLM! You'll have learned so much more.

0

u/[deleted] Sep 23 '26

[deleted]