Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

polytype_atex(3alleg4) [plan9 man page]

POLYTYPE_ATEX(3alleg4)						  Allegro manual					    POLYTYPE_ATEX(3alleg4)

NAME
POLYTYPE_ATEX - Polygon rendering mode type Allegro game programming library. SYNOPSIS
#include <allegro.h> #define POLYTYPE_ATEX DESCRIPTION
An affine texture mapped polygon. This stretches the texture across the polygon with a simple 2d linear interpolation, which is fast but not mathematically correct. It can look OK if the polygon is fairly small or flat-on to the camera, but because it doesn't deal with per- spective foreshortening, it can produce strange warping artifacts. To see what this means, run Allegro's test program and see what happens to the polygon3d() test when you zoom in very close to the cube. SEE ALSO
polygon3d(3alleg4), ex3d(3alleg4) Allegro version 4.4.2 POLYTYPE_ATEX(3alleg4)

Check Out this Related Man Page

ex3d(3alleg4)							  Allegro manual						     ex3d(3alleg4)

NAME
ex3d - 3d 'bouncy cubes' demo. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example ex3d DESCRIPTION
This program demonstrates how to use the 3d matrix functions. It isn't a very elegant or efficient piece of code, but it does show the stuff in action. It is left to the reader as an exercise to design a proper model structure and rendering pipeline: after all, the best way to do that sort of stuff varies hugely from one game to another. The example first shows a screen resolution selection dialog. Then, a number of bouncing 3d cubes are animated. Pressing a key modifies the rendering of the cubes, which can be wireframe, the more complex transparent perspective correct texture mapped version, and many other. SEE ALSO
BITMAP(3alleg4), COLOR_MAP(3alleg4), END_OF_MAIN(3alleg4), MATRIX(3alleg4), PALETTE(3alleg4), POLYTYPE_ATEX(3alleg4), POLY- TYPE_ATEX_LIT(3alleg4), POLYTYPE_ATEX_MASK(3alleg4), POLYTYPE_ATEX_MASK_LIT(3alleg4), POLYTYPE_ATEX_MASK_TRANS(3alleg4), POLY- TYPE_ATEX_TRANS(3alleg4), POLYTYPE_FLAT(3alleg4), POLYTYPE_GCOL(3alleg4), POLYTYPE_GRGB(3alleg4), POLYTYPE_PTEX(3alleg4), POLY- TYPE_PTEX_LIT(3alleg4), POLYTYPE_PTEX_MASK(3alleg4), POLYTYPE_PTEX_MASK_LIT(3alleg4), POLYTYPE_PTEX_MASK_TRANS(3alleg4), POLY- TYPE_PTEX_TRANS(3alleg4), RGB(3alleg4), RGB_MAP(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), V3D(3alleg4), allegro_error(3alleg4), alle- gro_exit(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), apply_matrix(3alleg4), bitmap_color_depth(3alleg4), bit- map_mask_color(3alleg4), blit(3alleg4), clear_bitmap(3alleg4), clear_to_color(3alleg4), color_map(3alleg4), create_bitmap(3alleg4), cre- ate_light_table(3alleg4), create_rgb_table(3alleg4), create_trans_table(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4), fixed(3alleg4), fixtoi(3alleg4), font(3alleg4), get_transformation_matrix(3alleg4), gfx_mode_select_ex(3alleg4), install_keyboard(3alleg4), install_mouse(3alleg4), install_timer(3alleg4), itofix(3alleg4), key(3alleg4), keypressed(3alleg4), line(3alleg4), palette_color(3alleg4), persp_project(3alleg4), polygon_z_normal(3alleg4), quad3d(3alleg4), readkey(3alleg4), rect(3alleg4), retrace_count(3alleg4), rgb_map(3alleg4), screen(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), set_projection_viewport(3alleg4), set_trans_blender(3alleg4), textout_ex(3alleg4), textprintf_ex(3alleg4), vsync(3alleg4) Allegro version 4.4.2 ex3d(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. UNIX for Advanced & Expert Users

What's your most useful shell?

What's your most useful shell? /bin/sh /bin/csh /bin/ksh /bin/tcsh /bin/bash (249 Replies)
Discussion started by: zylwyz
249 Replies