excamera - Man Page

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)

Referenced By

clip3d_f(3), get_camera_matrix_f(3), get_vector_rotation_matrix(3), install_int_ex(3), key_shifts(3), MATRIX_f(3), poll_keyboard(3), polygon(3), polygon3d(3), POLYTYPE_FLAT(3), rect(3), set_clip_rect(3), set_projection_viewport(3), V3D_f(3).

version 4.4.3 Allegro manual