TVP4020
Programmers Reference Manual
Graphics Programming
87
0
8
16
24
31
Reserved
Enable unit
Perspective Correction
Figure 5.24
TextureAddressMode
5.7.3
Texture Interpolation Example
This example sets up the parameters for 2D texture mapping. 1D texture
mapping can be achieved by setting TStart, dTdx and dTdyDom to zero.
// Load the start values and deltas for the dominant edge
// and the body of the trapezoid
SStart() // Load S start value
TStart() // Load T start value
QStart() // Load Q start value
dSdx() // Load S delta for X
dTdx() // Load T delta for X
dQdx() // Load Q delta for X
dSdyDom() // Load S dominant edge delta
dTdyDom() // Load T dominant edge delta
dQdyDom() // Load Q dominant edge delta
// Render primitive
Summary of Contents for TVP4020 PERMEDIA 2
Page 1: ...Texas Instruments TVP4020 PERMEDIA 2 Programmer s Reference Manual Issue 4 ...
Page 284: ...TVP4020 Programmers Reference Manual A Gouraud Shaded Triangle 275 ...
Page 292: ...TVP4020 Programmers Reference Manual Register Tables 283 ...
Page 314: ...TVP4020 Programmers Reference Manual Index 305 ...
Page 315: ...Index TVP4020 Programmers Reference Manual 306 Index ...
Page 323: ...Index TVP4020 Programmers Reference Manual 314 ...