July 2002
Intermediate to advanced
336 pages
8h 40m
English

In simple 2D texture mapping, you take a 2D image and render it on the screen after some transformation or distortion. To accomplish this, you will need to take each [X, Y] location on the screen and calculate a [U, V] texture coordinate to place there. A particularly common transformation is

By picking the proper values for the coefficients a … j, we can fly the 2D texture around to an arbitrary position, orientation, and perspective projection on the screen. One can, ...
Read now
Unlock full access