Lone Henchman

Sometimes about tools, sometimes about graphics, sometimes I just ramble.

Hello!

A stylized picture of the author.

My name's Phill Djonov, and I'm a video game programmer.

Sometimes I write code (and a little bit of it even makes it onto GitHub). Sometimes I solder microcontrollers to LED strips. Sometimes (rarely - too rarely) I even write stuff here.

This site's a little broken right now. Sorry about that. As far as I can tell, my old hosting provider was, uh, unhappy to discover that they'd given me a really good indefinite promotional rate (or something like that) which I'd held onto for longer than they intended, so I'm rebuilding it bit by bit in my spare time on Azure. Good times.

No, none of this content was produced by LLM. Spelling errors and excessively long sentences are all my own. I don't have a proofreader and figuring out how to integrate a spell checker into the (still very awkward) workflow behind this site is still on my to-do list.

Contact

I can sometimes be reached at phill@vec3.net, but absolutely never on social media. LinkedIn exists in a superposition of being social media and being not social media.

Recent posts

Building Content: Scripting With C#

A few weeks ago I wrote about my toy content builder. Today, I'm writing a little bit more about it.

Read more...

Camera Math

Updated: 10 Aug 2025

Nothing special here, just stashing away some math I don't enjoy having to look up again and again.

Read more...

Dynamic Descriptor Pools

A couple days ago I wrote about my dynamic_buffer helper which I use to push things like uniform blocks to the GPU without worrying too much about preallocating the exact amount of memory I need at application startup. Here's another helper which I use to make allocating descriptor sets easy.

Read more...

Don't Forget the Inline!

If you're writing a header file and you're at global or namespace scope, then you almost certainly do not mean to declare bare const or constexpr variables.

Read more...

Dynamic Graphics Buffers

Yesterday, I described a ring buffer allocator suitable for pushing data to a GPU. Today, I'm using that allocator to manage a dynamic buffer suitable for sending things like blocks of uniforms up to the GPU which automatically grows when necessary.

Read more...

Ring Buffers

Circular buffers (or queues): super useful, but also hard to implement without getting snagged up on little off-by-one errors in the code that tracks the difference between the used and free regions. So here's a quick overview of the algorithm I use for stuff like dynamic vertex and uniform buffers when I'm doing 3D programming.

Read more...

Building Content: Just-In-Time Dependency Graphs

So, I've got a little toy hobby game project that I've been working on for ages, and it has content. And that content has to be built. And building content is very annoying, mostly because it tends to have dependencies that're really hard to quickly extract ahead of time. So... I decided not to, and I built myself a build system that builds the dependency graph and the content at the same time.

Read more...

GJK

A long (long) time ago I made two big posts going through the GJK algorithm, how it works, and how to implement it efficiently. They were pretty cool and even had interactive diagrams in them designed to illustrate the geometric concepts and help to intuitively communicate why things work the way they do.

Read more...