excamera

Section: Allegro manual (3)
Updated: version 4.2.2
Index Return to Main Contents
 

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(3), END_OF_MAIN(3), MATRIX_f(3), POLYTYPE_FLAT(3), SCREEN_H(3), SCREEN_W(3), V3D_f(3), allegro_error(3), allegro_init(3), allegro_message(3), apply_matrix_f(3), blit(3), clear_to_color(3), clip3d_f(3), create_bitmap(3), desktop_palette(3), destroy_bitmap(3), font(3), get_camera_matrix_f(3), get_vector_rotation_matrix_f(3), install_int_ex(3), install_keyboard(3), install_timer(3), key(3), key_shifts(3), makecol(3), persp_project_f(3), poll_keyboard(3), polygon(3), polygon3d_f(3), rect(3), screen(3), set_clip_rect(3), set_gfx_mode(3), set_palette(3), set_projection_viewport(3), textprintf_ex(3), vsync(3)