exzbuf(3) - Linux man page
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 polgons due to per-polygon sorting, each pixel is
drawn at the correct depth.
See Also
bitmap(3), end_of_function(3), end_of_main(3),
lock_function(3), lock_variable(3), matrix_f(3), palette(3), polytype_gcol(3),
screen_h(3), screen_w(3), v3d_f(3), zbuffer(3), allegro_error(3),
allegro_exit(3), allegro_init(3), allegro_message(3), apply_matrix_f(3),
bitmap_color_depth(3), blit(3), clear_bitmap(3), clear_zbuffer(3), create_bitmap(3),
create_zbuffer(3), desktop_palette(3), destroy_bitmap(3), destroy_zbuffer(3), font(3),
get_transformation_matrix_f(3), gfx_mode_select_ex(3), install_int(3), install_keyboard(3),
install_mouse(3), install_timer(3), keypressed(3), palette_color(3), persp_project_f(3),
polygon_z_normal_f(3), quad3d_f(3), readkey(3), screen(3), set_color_depth(3),
set_gfx_mode(3), set_palette(3), set_projection_viewport(3), set_zbuffer(3),
textprintf_ex(3), vsync(3)