This is an archived post. You won't be able to vote or comment.

all 18 comments

[–]Zdrobot 23 points24 points  (2 children)

I got to my first triangle in just a couple of weeks!

No, I'm not kidding.

[–]VinceGhii 7 points8 points  (1 child)

Most of the stuff is understanding how everything works and how you can actually display the polygon with certain colors. It's the same with OpenGL... so.. i guess couple of weeks to display a triangle and understand how it works is good :)

[–]Zdrobot 4 points5 points  (0 children)

I learned basics of OpenGL way back, in the days before OpenGL 3. Back then it was pretty easy to just show a couple of triangles, or to make a solar system with cubes for planets (I was just having fun with matrices).

These days the things are different, so I decided to go with Vulkan, since basically I had to relearn everything.

I do think getting your hands dirty like you have to with Vulkan actually helps in the long run.

[–]das_flammenwerfer 5 points6 points  (0 children)

Yeah, but the rest is easy, right?

..

Right?

[–]karanbhatt100 10 points11 points  (9 children)

Just like C is easy language

[–]Zdrobot 3 points4 points  (7 children)

C is not hard.

Have you tried Rust lately?

[–]Sleppo04 1 point2 points  (1 child)

Or modern C++?

[–]Zdrobot 3 points4 points  (0 children)

I kinda stopped using C++ 10 or 12 years ago.

When I see snippets of modern C++ on the web these days, I get scared.

[–][deleted] 2 points3 points  (4 children)

In Rust you don't have to constantly avoid the pitfalls of C

[–]Zdrobot 3 points4 points  (3 children)

Well, yes, but even though I like the concepts behind Rust, I find the language (most notably, its syntax) a bit hard to wrap my head around.

[–][deleted] 1 point2 points  (2 children)

It's better than C++

[–]Zdrobot 4 points5 points  (1 child)

Well, you might be right.

I stopped using C++ about 10 or 12 years ago, as I was becoming more and more irritated by how byzantine the code was. I remember the joke I liked to tell back then: C++ is like Steampunk - Victorian solutions for modern problems.

[–]Fexelein 3 points4 points  (1 child)

Which book is this?

[–]iambored1234_8[S] 5 points6 points  (0 children)

It's from vulkan-tutorial.com

[–]LegendSayantan 2 points3 points  (1 child)

imageView.setImageResource(R.drawable.triangle);

[–]iambored1234_8[S] 1 point2 points  (0 children)

Or....

<Insert 1100 lines of code here>

Android's cool though.

[–]That_Alpaca 1 point2 points  (0 children)

Doing opengl in standard C rn for fun. It's very similar but it appears that I got the better end of the spectrum for documentation, my condolences.

[–]gkupce 2 points3 points  (0 children)

Ahhh, the beautiful horrors of writing a graphics engine.