Demo: Rotating Cube On the Homebrew CPU!

I had been hoping to write a decent rotating cube demo ever since I started to get a sense of how fast the cpu was. This is the result of about 3500 lines of custom assembler code and far more time than I want to think about. The end result was far nicer than I had any right to expect! This video is about 20 seconds of demo and 25 minutes of technical discussion on the what/how. Hope you enjoy! 0:00 The Cube! 0:20 Introduction 1:01 Resolution 2:02 Maths 3:03 Object-View Transform 4:48 Perspective Transform 5:49 Viewport Transform 6:42 Demo: Vertices 6:58 Timing 8:36 Line drawing 10:23 Demo: Edges 10:50 Back-Face Culling 13:21 Demo: Culling 13:45 Rasterization 14:56 Demo: Solid filled 16:34 Lighting 19:45 Demo: Lighting 20:06 Buffer Optimizations 21:33 Demo: 30 Fps! 22:12 Polish 22:49 Demo: Final! 23:07 Outro 23:30 Development progression