Design
tmapper.txt
Associated article: Affine Texture Mapping
Tags: Database Design
Published source code accompanying the article by Andre LaMothe in which he discusses affine texture mapping, which is fundamental to many forms of 3D rendering, including light interpolation and other sampling type operations. Also see TMAPSRC.ZIP
Affine Texture Mapping
by Andre LaMothe
Listing One
void Draw_Triangle(float x0,float y0,float x1,float y1, float x2,float y2, int color)
{
// this function rasterizes a triangle with a flat bottom
// compute left side interpolant
float dx_...


