how do i get started with opengl and shader coding?
category: code [glöplog]
Quote:
I think what Preacher and Sesse seem to be pointing to can be described to a degree by the old “Hello world”. It couldn’t be more trivial to tease the “Hello world” out of all 8-bitters. Even if you were a caveman. Today?
I feel like "Hello World" is no longer a valid example in a world of graphical user interfaces; with Visual Studio you can have a window with buttons running basically without even writing a single line of code, just next-next-next through a template wizard.
But you can get to drawing stuff even sooner with even less: I highly recommend watching https://hello.processing.org/ as an example.
Quote:
it is basically impossible to impress people
Yes, but that's where it becomes a cultural problem.
Quote:
I dare you to make a C-64 demo that impresses me.Unless you want to go into oldschool, it is basically impossible to impress people
Quote:
I highly recommend watching https://hello.processing.org/ as an example.
Yes, I'm familiar Processing (well OK P5.js actually, but it's the same thing) and I really like the concept. I think it's great. On a side note, I've even seen it used to write proper apps too.
I'd like to talk about a related question: How long will OpenGL last?
I stole code snippets from various sources 15 years ago to create a kind of demo/game framework using Visual C++ and OpenGL. The programs created with this framework still work on modern configurations. But how long will that situation last?
I stole code snippets from various sources 15 years ago to create a kind of demo/game framework using Visual C++ and OpenGL. The programs created with this framework still work on modern configurations. But how long will that situation last?
Quote:
I highly recommend watching https://hello.processing.org/ as an example.
I'm not sure if I ever saw someone so annoyingly enthusiastic, but the content is good stuff, true. :D
Quote:
How long will OpenGL last?
Native support is up to graphics card vendors, but even without that there are translation layers to run it on Direct3D, similar to how web browsers support OpenGL ES on desktop. Like all the other legacy APIs, it's not going away anytime soon.