These are some notes on how to manually draw triangles in code. Possibly useful if you’re trying to write your own software renderer, or are just curious how it works.
There’s two ways to do this. One is quite CPU intensive, the other is mathematical and less CPU intensive. The CPU intensive version scales well if run on something with multiple cores, like a GPU. So there’s tradeoffs in which method is used and when.
I use Obsidian as my central note storing system. Here’s how I sync all my files between my phone, laptop and desktop machines. For free.
Intro
First, Obsidian is actually a piece of software worth paying for. I used to simply store a bunch of text files in a folder and edit them with any old random text editor. Obsidian makes this easier. Linking between pages, the tree view, the nice colours… it all makes the job of editing and managing text nicer.
I’m creating a game engine from scratch. Last time I wrote about the entity component system and how that works. This time I want to explain how the entities get created.
There’s loads of blog posts and YouTube videos explaining how to be more organised, how to stop procrastinating, and how to generally be more productive. None of them seem to be written for people who are busy, rather than trying to avoid work.
It turns out making proxy files is quite important when editing video across your LAN. Don’t edit video across your LAN, it ends in tears and frustration.
I ditched DJGPP for now and am using Borland C++ 3.1 that I found on some abandonware website. I even sent the user manual to an online document printer to get it bound into a real book.