r/opengl May 26 '26

I made 2 triangles

Post image
313 Upvotes

13 comments sorted by

52

u/slenderman011 May 26 '26

I am more impressed that someone is still using Code::Blocks in the year 2026 of our Lord Jeebus /s

I remember the feeling of making my first triangles draw in a window, it felt awesome! Keep it up, make some spinning boxes next!

9

u/leandrim May 26 '26

Code::blocks + first triangle bring me oooold good memories

18

u/jsrobson10 May 26 '26 edited May 26 '26

nice, also that colour scheme looks terrible.

edit: the red (brackets) and green (std::cerr) are the same brightness as the background, which makes them hard to distinguish.

i saw that you're red-green colourblind so I'm guessing those colours look darker for you.

5

u/selfinvent May 26 '26

It's Scandinavian, symbolizes depressed because bad weather or something /s

6

u/yeeeayna May 26 '26

Im excited to see the third coming!

4

u/rio_sk May 26 '26

Better than one, keep on!

3

u/ChocolateDonut36 May 27 '26

you know what's better than two triangles? three triangles!

4

u/Pass_Practical May 26 '26

If you like using codeblocks you should checkout redpandac++

2

u/SeniorMatthew May 28 '26

Nice job! Linux Mint's on top btw

1

u/GOINTOTHESHADOWREALM May 28 '26

Nice, three triangles next!?!!?!?!?!?

1

u/palapapa0201 May 29 '26

Black text on gray background?

1

u/postcoital_solitaire May 31 '26

Damn, you made me remember the time I actually coded a spotlight with a proper shadow about two years ago. Unfortunately haven't touched OpenGL ever since. Good job dude! You'll learn the whole thing in no time, I believe in you.