John Burton Blog

Starting opengl

After a lot of years of messing about with graphics, today I decided to actually start making a game. More details on that to follow but first I’m making a renderer using OpenGL4.6 and C++23

#include "Graphics.h"

int main() {
    Graphics::CreateWindow("My Window", 800, 600);

    while (Graphics::RunEventLoopIteration()) {
        Graphics::Clear();
    }
}

So far so good…

I’m going to write it using very simple C++ in a mostly none OOP style.
I will build some modules using a mostly structs and procedures style. My first library will be ‘Graphics’ which will use OpenGL to actually draw things on the screen.

Read More…

Hello Internet!

Here is my traditional first post blog posts to test if I can get hugo to work properly.
Most of my posts will probably be about C++ and other programming languages and opengl and similar.

Maybe I’ll post a few rants (but no politics!)

Let’s see if I can link to a photo of one of my cats:

One of my cats