Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OpenGLStipples.h File Reference

Hard-coded tables of polygon stipple patterns used for "screen door" transparency (old graphics hardware). More...

Go to the source code of this file.

Variables

GLubyte eighthtone []
GLubyte quartertone []
GLubyte halftone []
GLubyte threequartertone []
GLubyte seveneighthtone []
GLubyte ninesixteentone []


Detailed Description

Hard-coded tables of polygon stipple patterns used for "screen door" transparency (old graphics hardware).

does this material have transparency? If so enable transparency via one of these methods: A) alpha blending with two-pass rendering and painter's algorithm B) alpha blending with two-pass rendering and alpha test C) screen-door transparency with polygon stipple trick Removed since we don't need to worry about changing transparency every triangle - it's done once per command list now (or thereabouts).

Definition in file OpenGLStipples.h.


Variable Documentation

GLubyte eighthtone[] [static]
 

Initial value:

 {
 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00
}

Definition at line 32 of file OpenGLStipples.h.

GLubyte halftone[] [static]
 

Initial value:

 {
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55,
 0xAA, 0xAA, 0xAA, 0xAA, 0x55, 0x55, 0x55, 0x55
}

Definition at line 70 of file OpenGLStipples.h.

GLubyte ninesixteentone[] [static]
 

Initial value:

 {
 0xFE, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF,
 0xEF, 0xEF, 0xEF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF,
 0xEF, 0xEF, 0xEF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF,
 0xEF, 0xEF, 0xEF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF,
 0xEF, 0xEF, 0xEF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF,
 0xEF, 0xEF, 0xEF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF,
 0xEF, 0xEF, 0xEF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF,
 0xEF, 0xEF, 0xEF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF,
 0xEF, 0xEF, 0xEF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF
}

Definition at line 127 of file OpenGLStipples.h.

GLubyte quartertone[] [static]
 

Initial value:

 {
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44,
 0x11, 0x11, 0x11, 0x11, 0x44, 0x44, 0x44, 0x44
}

Definition at line 51 of file OpenGLStipples.h.

GLubyte seveneighthtone[] [static]
 

Initial value:

 {
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF,
 0xFE, 0xFE, 0xFE, 0xFE, 0xEF, 0xEF, 0xEF, 0xEF
}

Definition at line 108 of file OpenGLStipples.h.

GLubyte threequartertone[] [static]
 

Initial value:

 {
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD,
 0x77, 0x77, 0x77, 0x77, 0xDD, 0xDD, 0xDD, 0xDD
}

Definition at line 89 of file OpenGLStipples.h.


Generated on Fri Nov 8 02:46:05 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002