Alex Dixon

Gamedev, graphics, open source. Shuffling bytes and swizzling vectors since 2004...

A quick solution for OpenGLES lack of wireframe fill mode

24 September 2020

If you have ever worked with OpenGL you might be familiar with glPolygonMode. It allows you to specify GL_LINE, GL_POINT or GL_FILL, where fill is typically what we use to rasterise solid triangles, using lines allows us to achieve a wireframe effect. If you have ever then switched to OpenGLES (mobile or web platforms) you may have encountered GL_LINE being undefined and there is no way to get a wireframe fill mode.

Read More

Porting a c++ game engine to the web with emscripten

20 September 2020

I embarked on this journey because I wanted to make my c++ game engine pmtech runnable in a browser for quick and easily accessible live demos. Overall the process took about 5 weeks of work, totalling 20 days, I spent some weekend days and a few hours in the evenings. Nothing too intense and the process was quite enjoyable, relaxing dare I say!

Read More

First post

14 September 2020

This is my first blog post and it comes alongside a new website. I have long been a shadow lurker on various forums, hacker news and reader of other programming blogs, but until now I have never had the urge to write a blog myself.

Read More