Man Linux: Main Page and Category List

NAME

       exzbuf - Z-buffered polygons demo. Allegro game programming library.

SYNOPSIS

       #include <allegro.h>

       Example exzbuf

DESCRIPTION

       This  program  demonstrates how to use Z-buffered polygons and floating
       point 3D math routines. It also provides a simple way  to  compute  fps
       (frames  per second) using a timer. After selecting a screen resolution
       through the standard  GUI  dialog,  the  example  shows  two  3D  cubes
       rotating  and intersecting each other. Rather than having full polygons
       incorrectly overlap other polygons due  to  per-polygon  sorting,  each
       pixel is drawn at the correct depth.

SEE ALSO

       BITMAP(3alleg),      END_OF_FUNCTION(3alleg),      END_OF_MAIN(3alleg),
       LOCK_FUNCTION(3alleg),     LOCK_VARIABLE(3alleg),     MATRIX_f(3alleg),
       PALETTE(3alleg),        POLYTYPE_GCOL(3alleg),        SCREEN_H(3alleg),
       SCREEN_W(3alleg),            V3D_f(3alleg),            ZBUFFER(3alleg),
       allegro_error(3alleg),    allegro_exit(3alleg),   allegro_init(3alleg),
       allegro_message(3alleg),                        apply_matrix_f(3alleg),
       bitmap_color_depth(3alleg),     blit(3alleg),     clear_bitmap(3alleg),
       clear_zbuffer(3alleg),  create_bitmap(3alleg),  create_zbuffer(3alleg),
       desktop_palette(3alleg),                        destroy_bitmap(3alleg),
       destroy_zbuffer(3alleg),                                  font(3alleg),
       get_transformation_matrix_f(3alleg),        gfx_mode_select_ex(3alleg),
       install_int(3alleg),  install_keyboard(3alleg),  install_mouse(3alleg),
       install_timer(3alleg),    keypressed(3alleg),    palette_color(3alleg),
       persp_project_f(3alleg), polygon_z_normal_f(3alleg),  quad3d_f(3alleg),
       readkey(3alleg),        screen(3alleg),        set_color_depth(3alleg),
       set_gfx_mode(3alleg),  set_palette(3alleg),  set_palette_range(3alleg),
       set_projection_viewport(3alleg),                   set_zbuffer(3alleg),
       textprintf_ex(3alleg), vsync(3alleg)