#Graphics

31 posts tagged Graphics

From Triangles to Pixels the Magic Behind 3D Graphics

Every frame of a 3D game you’ve ever seen ultimately reduces to pixels written into memory. No matter how fast the GPU or how impressive the graphics, it all comes down to plotting pixels on the screen. Today we’re taking a short look at how triangles get turned into pixels. It seems easy enough, but this is something early software 3D had to do by hand, and something modern GPUs are doing all the time.

Triangle Rasterisation

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.

Stealing Ideas From Doom

Part of the fun of making a game from scratch is desinging the systems that run in the background. This time I accidentally try to program a cooperative multitasking operating system. But it’s OK, this is how you do this sort of thing…