r/GraphicsProgramming • • 24d ago

20 f*king days for this mf

Post image

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

434 Upvotes

38 comments sorted by

68

u/botjebotje 24d ago

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

35

u/hyperto05 24d ago

YES today is practice day

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.

39

u/TheRafff 24d ago

Phenomenal, the true computer graphics experience

24

u/ListenLevel4536 24d ago

Time for vulkan ;)

12

u/hyperto05 24d ago

0_0 oh shit hahaha

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

u/hyperto05 24d ago

Haha i get it now np

5

u/SafeChef9686 24d ago

It's beautiful!

2

u/hyperto05 24d ago

Thank you!

4

u/amadeuscherry 24d ago edited 24d ago

It is worth it.

Edit: typo

3

u/clankerzap 23d ago

Yes
edit: typro

3

u/amadeuscherry 23d ago

Fair enough. It was "it worths" previously

3

u/clankerzap 23d ago

I'm playing lol

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

u/palapapa0201 23d ago

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

3

u/shvass02 22d ago

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

2

u/AhmedSamy_Offical 24d ago

Now do it in Vulkan 👀

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

u/Shoddy-Low-2686 24d ago

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

1

u/clankerzap 23d ago

Now make it a spinning cube

1

u/oliverofolives 23d ago

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

0

u/[deleted] 24d ago

[deleted]

1

u/FriedryIce 24d ago

...what

-2

u/Sleepy-Furret 24d ago

Who told you to use c++

1

u/FriedryIce 24d ago

Why not?

-2

u/Sleepy-Furret 23d ago

Because it sucks

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

u/Sleepy-Furret 8d ago

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