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

NAME

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

SYNOPSIS

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

DESCRIPTION

16       An affine texture mapped polygon. This stretches the texture across the
17       polygon  with  a  simple 2d linear interpolation, which is fast but not
18       mathematically correct. It can look OK if the polygon is  fairly  small
19       or  flat-on to the camera, but because it doesn't deal with perspective
20       foreshortening, it can produce strange warping artifacts. To  see  what
21       this  means,  run  Allegro's  test  program and see what happens to the
22       polygon3d() test when you zoom in very close to the cube.
23
24

SEE ALSO

26       polygon3d(3), ex3d(3)
27
28
29
30Allegro                          version 4.4.3                POLYTYPE_ATEX(3)
Impressum