Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

polytype_grgb(3alleg4) [opendarwin man page]

POLYTYPE_GRGB(3alleg4)						  Allegro manual					    POLYTYPE_GRGB(3alleg4)

POLYTYPE_GRGB - Polygon rendering mode type Allegro game programming library. SYNOPSIS
#include <allegro.h> #define POLYTYPE_GRGB DESCRIPTION
A gouraud shaded polygon which interpolates RGB triplets rather than a single color. In 256-color modes this uses the global rgb_map table to convert the result to an 8-bit paletted color, so it must only be used after you have set up the RGB mapping table! The colors for each vertex are taken from the `c' value, which is interpreted as a 24-bit RGB triplet (0xFF0000 is red, 0x00FF00 is green, and 0x0000FF is blue). SEE ALSO
polygon3d(3alleg4), rgb_map(3alleg4), ex3d(3alleg4) Allegro version 4.4.2 POLYTYPE_GRGB(3alleg4)

Check Out this Related Man Page

rgb_map(3alleg4)						  Allegro manual						  rgb_map(3alleg4)

rgb_map - Look up table to speed up reducing RGB values to palette colors. Allegro game programming library. SYNOPSIS
#include <allegro.h> extern RGB_MAP *rgb_map; DESCRIPTION
To speed up reducing RGB values to 8-bit paletted colors, Allegro uses a 32k lookup table (5 bits for each color component). You must set up this table before using the gouraud shading routines, and if present the table will also vastly accelerate the makecol8() and some cre- ate_*_table() functions. RGB tables can be precalculated with the rgbmap utility, or generated at runtime with create_rgb_table(). SEE ALSO
create_rgb_table(3alleg4), makecol8(3alleg4), create_trans_table(3alleg4), create_light_table(3alleg4), create_color_table(3alleg4), ex3d(3alleg4), excolmap(3alleg4), exrgbhsv(3alleg4), exshade(3alleg4), extrans(3alleg4) Allegro version 4.4.2 rgb_map(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

Featured Tech Videos