Graphics programming (Abrash's code)

Some of the following works is not directly related to 3D graphics programming but most of it is so I stuck it in here. Michael Abrash is a hardcore computer programmer and has written one or two books on the subject including graphics programming black book (its old but good). I have spent some time reading this book and have modified some of the source code within the book to run using SDL.dll.

Chapter 35 - Bresenham line drawing

Bresenham

Chapter 36 - Bresenham Run length slice line drawing

RunSlice

Chapter 38 - The Polygon Primeval

Polygon1

Chapter 39 - Fast Convex Polygons

Polygon2

Chapter 40 - Of Songs, Taxes, and the Simplicity of Complex Polygons

Polygon3

Chapter 41 - Those Way-Down Polygon Nomenclature Blues

Polygon4

Chapter 50 - Adding a Dimension

Matrix

Chapter 51 - Sneakers in Space

Matrix2

Chapter 60 - Compiling BSP Trees

bsp_maker

Chapter 62 - One Story, Two Rules, and a BSP Renderer

bsp_render