Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

polytype_ptex(3alleg4) [opendarwin man page]

POLYTYPE_PTEX(3alleg4)						  Allegro manual					    POLYTYPE_PTEX(3alleg4)

POLYTYPE_PTEX - Polygon rendering mode type Allegro game programming library. SYNOPSIS
#include <allegro.h> #define POLYTYPE_PTEX DESCRIPTION
A perspective-correct texture mapped polygon. This uses the `z' value from the vertex structure as well as the u/v coordinates, so textures are displayed correctly regardless of the angle they are viewed from. Because it involves division calculations in the inner texture map- ping loop, this mode is a lot slower than POLYTYPE_ATEX, and it uses floating point so it will be very slow on anything less than a Pentium (even with an FPU, a 486 can't overlap floating point division with other integer operations like the Pentium can). SEE ALSO
polygon3d(3alleg4), POLYTYPE_ATEX(3alleg4), ex3d(3alleg4) Allegro version 4.4.2 POLYTYPE_PTEX(3alleg4)

Check Out this Related Man Page

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

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. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies