1POLYTYPE_PTEX(3)                Allegro manual                POLYTYPE_PTEX(3)
2
3
4

NAME

6       POLYTYPE_PTEX  -  Polygon  rendering mode type Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       #define POLYTYPE_PTEX
14

DESCRIPTION

16       A perspective-correct texture mapped polygon. This uses the  `z'  value
17       from  the  vertex structure as well as the u/v coordinates, so textures
18       are displayed correctly regardless of the angle they are  viewed  from.
19       Because  it involves division calculations in the inner texture mapping
20       loop, this mode is a lot slower than POLYTYPE_ATEX, and it uses  floatā€
21       ing point so it will be very slow on anything less than a Pentium (even
22       with an FPU, a 486 can't overlap floating  point  division  with  other
23       integer operations like the Pentium can).
24
25

SEE ALSO

27       polygon3d(3), POLYTYPE_ATEX(3), ex3d(3)
28
29
30
31Allegro                          version 4.4.2                POLYTYPE_PTEX(3)
Impressum