
Graphics Programming
TVP4020
Programmers Reference Manual
42
5.2
Delta Unit
For best performance, the Delta unit in P
ERMEDIA
should be used to
calculate the edge deltas used by the Graphics Processor.
The Delta Unit accepts the following vertex parameters:
Offset
Category
Parameter
Fixed Point Format
IEEE Single Precision
Floating Point Range
0
s
2.30 s
footnote 1
-1.0…1.0
footnote 2
1
t
2.30 s
-1.0…1.0
2
q
2.30 s
-1.0…1.0
3
Texture
Ks
2.22 us
0.0…2.0
4
Kd
2.22 us
0.0…1.0
5
red
1.30 us
0.0…1.0
6
green
1.30 us
0.0…1.0
7
Color
blue
1.30 us
0.0…1.0
8
alpha
1.30 us
0.0…1.0
9
Fog
f
10.22 s
-512.0…512.0
10
x
16.16 s
-32K…+32K
footnotes
3,4
11
Coordinate
y
16.16 s
-32K…+32K
12
z
1.30us
0.0…1.0
14
PackedColo
r
PackedColor
8888
8888
Table 5.1
Vertex Parameters
While values may be written to the vertex store in either floating or fixed
point formats, any values returned via the readback mechanism will be
the clamped floating point (IEEE single precision) version of the value
written. The returned value of a parameter may be different from the
value written if any of the following conditions has occurred:
•
Any clamping has occurred;
•
The input number was a NaN or Denormalized IEEE number;
•
The input value has exceeded the internal range (approximately
±2
32
).
1
This is the range when Normalise is not used. When Normalise is enabled the fixed point
format can be anything, providing it is the same for the s, t and q parameters. The
numbers will be interpreted as if they had 2.30 format for the purpose of conversion to
floating point. If the fixed point format (2.30) is different from what the user had in mind
then the input values are just pre-scaled by a fixed amount (i.e. the difference in binary
point positions) prior to conversion.
2
This is the range when Normalise is not used. When Normalise is enabled the range is
extended to 2
±32
approximately. This also applies to the t and q values as well.
3
The normal range here is limited by the size of the screen.
4
K = 1024.
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 ...