exzbuf man page on DragonFly
Printed from http://www.polarhome.com/service/man/?qf=exzbuf&af=0&tf=2&of=DragonFly
exzbuf(3) Allegro manual exzbuf(3)
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 rotat‐
ing 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(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), alle‐
gro_exit(3), allegro_init(3), allegro_message(3), apply_matrix_f(3),
bitmap_color_depth(3), blit(3), clear_bitmap(3), clear_zbuffer(3), cre‐
ate_bitmap(3), create_zbuffer(3), desktop_palette(3), destroy_bit‐
map(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_palette_range(3), set_projection_viewport(3), set_zbuffer(3),
textprintf_ex(3), vsync(3)
Allegro version 4.4.2 exzbuf(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|