NAME
excamera - Viewing a 3d world from an arbitrary camera position.
Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example excamera
DESCRIPTION
This program demonstrates how to use the get_camera_matrix() function
to view a 3d world from any position and angle. The example draws a
checkered floor through a viewport region on the screen. You can use
the keyboard to move around the camera or modify the size of the
viewport. The keys that can be used with this example are displayed
between brackets at the top of the screen.
SEE ALSO
BITMAP(3alleg), END_OF_MAIN(3alleg), MATRIX_f(3alleg),
POLYTYPE_FLAT(3alleg), SCREEN_H(3alleg), SCREEN_W(3alleg),
V3D_f(3alleg), allegro_error(3alleg), allegro_init(3alleg),
allegro_message(3alleg), apply_matrix_f(3alleg), blit(3alleg),
clear_to_color(3alleg), clip3d_f(3alleg), create_bitmap(3alleg),
desktop_palette(3alleg), destroy_bitmap(3alleg), font(3alleg),
get_camera_matrix_f(3alleg), get_vector_rotation_matrix_f(3alleg),
install_int_ex(3alleg), install_keyboard(3alleg),
install_timer(3alleg), key(3alleg), key_shifts(3alleg),
makecol(3alleg), persp_project_f(3alleg), poll_keyboard(3alleg),
polygon(3alleg), polygon3d_f(3alleg), rect(3alleg), screen(3alleg),
set_clip_rect(3alleg), set_gfx_mode(3alleg), set_palette(3alleg),
set_projection_viewport(3alleg), textprintf_ex(3alleg), vsync(3alleg)