Matrix multiplication in graphics APIs is ridiculously confusing. People are often confused about the right order of multiplying their matrices, and about row-major, column-major, pre-multiplication, post-multiplication, row vectors and column vectors, and transposing. I plan for this to be the Continue reading
Tell me if this sounds familiar. You want to write a renderer. OpenGL seems beginner-friendly, and there s lots of tutorials for you to get started, but you also know it s deprecated, kind of dead, and mocked; not for real graphics Continue reading
Today, we ll be looking at a fairly simple, but fundamental concept in modern APIs, and using it to springboard onto talking about some different GPU architectures, and that is, the PSO , or Pipeline State Object . Motivating this necessity is one Continue reading
There s a certain opinion that graphics programming is a lot more difficult than it used to be. The so-called Modern APIs , that is, Direct3D 12, Metal, and Vulkan, introduce a new graphics programming paradigm that can be difficult and opaque Continue reading
There s a lot of fantastic research into 2D graphics rendering these days. Petr Kobalicek and Fabian Yzerman have been working on Blend2D, one of the fastest and most accurate CPU rasterizers on the market, with a novel JIT approach. Patrick Continue reading
I ve always had a love for the art in video games. Sure, all mediums have some ability to craft worlds from nothing, but none are so realized, so there, as the worlds in video games. It s also an example of Continue reading
Note: The demos below require WebGL2 support. If you are running a browser without WebGL 2 support, user petercooper on Hacker News has helpfully recorded a video and GIFs and for me. One of my hobbies is writing model viewers Continue reading
This post is different from my usual material. Despite the name, I m not going to talk about actual coding all that much. This post might be classified under lament , or maybe rant . I talk about problems, reflect on them, and Continue reading
If you asked software engineers some of their least hated things, you ll likely hear both UTF-8 and TCP. TCP, despite being 35 years old, is rock-solid, stable infrastructure that we take for granted today; it s hard to sometimes realize that Continue reading
WebGL is, all things considered, a pretty decent API. It s not a great API, but that s just because OpenGL is also not a great API. It gives you raw access to the GPU and is pretty low-level. For those intimidated Continue reading