4.2 Gigabytes, Or: How to Draw Anything
In our world, we can do anything that we want to do here. Any old thing. - Bob Ross, The Joy Of Painting Season 29 Episode 1
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 272 posts.
In our world, we can do anything that we want to do here. Any old thing. - Bob Ross, The Joy Of Painting Season 29 Episode 1
A deep dive into graphics APIs, shader languages and GPU architecture, exploring a simpler design for modern hardware. By Sebastian Aaltonen.
I build shaders, renderers, games, and other stuff that's fun to stare at.
I enjoy reading a lot of source code and after 15 years in the field I feel like I have seen my fair share. Even with a full-time job, I still try to spare evenings here and there to read. I don't see myself ever stopping. It is always an opportunity to learn new things to follow somebody's mind process. Every once in…
(“make LLMs play better with one weird trick”)
Linux in a Pixel Shader - A RISC-V Emulator for VRChat
If there is one pattern this book couldn’t live without, this is it. Game loops are the quintessential example of a “game programming pattern”. Almost every game has one, no two are exactly alike, and relatively few programs outside of games use them.
I spent about a month in my spare time reading the source code of Quake II. It was a wonderful learning experience since one major improvement in idTech3 engine was to unify Quake 1, Quake World and QuakeGL into one beautiful code architecture. The way modularity was achieved even though the C programming language…
An in-depth analysis that explains how this console works internally
I would like to thank krazhier and Keits for taking hours out of their busy schedules to discuss technical aspects of netcode with me, and Sajam for taking time to answer interview questions and being supportive throughout the writing process. I would also like to especially thank MagicMoste for making all the…
Ron Gilbert's often incoherent and bitter ramblings about the Game Industry
Every Frame a Painting is officially dead. Nothing sinister; we just decided to end it.
I get a lot of pitches for "Steam competitors." 99% of them are doomed to failure, but the vast majority are doomed before they even start.
This post describes the text rendering algorithm I used on thetamath.com, a GPU-powered 2D equation renderer I wrote for fun last December…
Since I left my job at Amazon I have spent a lot of time reading great source code. Having exhausted the insanely good idSoftware pool , the next thing to read was one of the greatest game of all time : Duke Nukem 3D and the engine powering it named " Build ". It turned out to be a difficult experience: The engine…
Previous update: An explanation of 3d projection mathematics (under Road Basics) and analysis of Activision's Enduro (under Case Studies)! Thanks to everyone for all the e-mail! Keep it coming :) Sorry, I can't answer questions about when I'll post source code, but I'm always happy to answer anything else about these…
“For people who enjoy swearing at their computer, Bastet (short for Bastard Tetris) is an attractive alternative to Microsoft Word.” (From http://hublog.hubmed.org)
I happily dove into Quake World source code . Here is what I understood, hopefully it will help someone to swim. This article is in four parts : Architecture section Network section Prediction section Rendition section
What with the arrival of the category-defining Commodore VIC-20 and the dramatic growth of the British PC market, 1981 has provided us with no shortage of new machines and other technical developments to talk about. Yet I’ve saved the biggest event of all for last: the introduction of the IBM PC, the debut of an…
When I started to work on my JavaScript Game Engine back in October 2009, the biggest problems I encountered were with the new HTML5 Audio Element. The Canvas Element already worked nicely in all browsers that supported it at the time, albeit some were a little slow.
The books are now available in unprotected pdf for PAY WHAT YOU WISH, with 50% going to not for profit programming education organizations. ...
In the first Terminator movie, the audience sees the world from the T-800’s view several times. It is well-known that in two instances, there is 6502 assembly code on the T-800’s HUD, and many sites have analyzed the contents: It’s Apple-II code taken from Nibble Magazine. Here are HD versions of…
After a long time it’s time for a big upgrade of my computer hardware orchestra. Here it is! The bigger and better Floppotron 3.0. 512 floppy disk drives, 4 scanners and 16 hard disk drives.
I created Papers, Please in 2013 specifically for desktop computers with mouse control. Now, here, in 2022, desktop computers no longer exist and all computing is done via handheld mobile telephone. Time to update this dinosaur. These thousands of words and megabytes of images will cover some bits of porting the game…
The teeth are not the only problem
Coding my handwriting in Javascript - how I did it and what I’m doing with it.