Archive for May, 2007

OpenGL Super Bible! Page 77 auxSolidBox Purpose Draws (Web hosting asp)

Tuesday, May 8th, 2007

OpenGL Super Bible! Page 77 auxSolidBox Purpose Draws a solid box. Include File Syntax void auxSolidBox(GLdouble width, GLdouble height, GLdouble depth ); Description Draws a solid box centered at (0,0,0). An alternative form of auxSolidCube. Generally used for demonstration purposes. Parameters width The width of the box. height The height of the box. depth The depth of the box. Returns None. Example See the AUXSOLID supplementary sample on the CD subdirectory for this chapter. This program exercises all of the AUX library s solid objects. See Also auxWireBox, auxSolidCube
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web and email hosting services

Page 76 OpenGL Super Bible! auxSetOneColor Purpose Sets (Virtual web hosting)

Tuesday, May 8th, 2007

Page 76 OpenGL Super Bible! auxSetOneColor Purpose Sets a single color in the color-index mode color palette. Include File Syntax void auxSetOneColor(int index, float red, float green, float blue); Description This function is used in color index mode. In this mode, rather than specifying colors with RGB values, a palette of colors is created. Object colors are designated by specifying an index into this palette. This functions sets the RGB values for the color that is represented by a particular palette index. Parameters index int: The index into the color palette. red float: The red component of the desired color. green float: The green component of the desired color. blue float: The blue component of the desired color. Returns None. Example See the COLORDX supplementary sample on the CD subdirectory for this chapter. Note that this sample requires operation on a palletized device (most 256-color cards, but not more than 8 bits of color). See Also getColorMapSize, auxSetRGBMap
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision best web hosting services

OpenGL Super Bible! Page 75 auxReshapeFunc (Mac os x web server) Purpose Establishes

Monday, May 7th, 2007

OpenGL Super Bible! Page 75 auxReshapeFunc Purpose Establishes a callback function to handle window dimension and size changes. Include File Syntax void auxReshapeFunc(AUXRESHAPEPROC func) Description This function is called to establish a callback function that the AUX library will call whenever the window size or shape changes. Typically this function modifies the viewport and clipping volume to perform image scaling. Parameters func This callback function is prototyped as void CALLBACK Reshape(GLsizei width, GLsizei height) This function receives the new width and height of the window. Returns None. Example See the SCALE example from this chapter. See Also auxIdleFunc, auxMainLoop
Note: In case you are looking for affordable webhost to host and run your web application check Vision http web server services

Page 74 OpenGL Super Bible! auxMouseFunc Purpose Associates (Free web hosting services)

Monday, May 7th, 2007

Page 74 OpenGL Super Bible! auxMouseFunc Purpose Associates callback functions with mouse button activity. Include File Syntax void auxMouseFunc(int button, int mode, AUXMOUSEPROC func); Description Sets the function func to be called when a mouse button is pressed or released. The specified mouse button is set to one of the values listed below. The button action can denote whether the button is pressed or released. Parameters button int: The button with which to associate the callback function; may be one of the following values: AUX_LEFTBUTTON, AUX_MIDDLEBUTTON, or AUX_RIGHTBUTTON. mode int: The action of the button specified above to associate with the callback function. May be either AUX_MOUSEDOWN or AUX_MOUSEUP. func The callback function is prototyped as void CALLBACK MouseFunc(AUX_EVENTREC *event); The event structure contains the mouse position at the time of the event. typedef struct _AUX_EVENTREC { GLint event; GLint data[4]; } AUX_EVENTREC; event GLint: Specifies the event that took place (AUX_MOUSEUP, or AUX_MOUSEDOWN) data[4] GLint: contains specific data about this event. data[AUX_MOUSEX] = mouse position in x direction. data[AUX_MOUSEY] = mouse position in y direction. data[MOUSE_STATUS] = mouse button (from button). Returns None. Example See the MBOUNCE supplementary example on the CD subdirectory for this chapter. See Also auxKeyFunc
Note: If you are looking for high quality webhost to host and run your jsp application check Vision jsp web hosting services

OpenGL Super Bible! Page 73 AUX_DOWN The Down

Monday, May 7th, 2007

OpenGL Super Bible! Page 73 AUX_DOWN The Down Arrow key AUX_A through AUX_Z The keys A through Z (uppercase) AUX_a through AUX_z The keys a through z (lowercase) AUX_0 through AUX_9 The number keys 0 through 9 auxMainLoop Purpose Specifies the function that should be used to update the OpenGL window. Include File Syntax void auxMainLoop(AUXMAINPROC func); Description This function is used to specify the function to be called whenever the OpenGL window needs to be refreshed. This function does not return until the OpenGL window is closed. Parameters func This function is prototyped as void CALLBACK MainFunc(void); This is the function to be used for updating the window by actually performing the drawing commands. Returns None. Example See any example from this chapter. See Also auxIdleFunc, auxReshapeFunc
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web design programs services

Web hosting solutions - Page 72 OpenGL Super Bible! auxKeyFunc Purpose Associates

Sunday, May 6th, 2007

Page 72 OpenGL Super Bible! auxKeyFunc Purpose Associates a callback function with a particular keystroke. Include File Syntax void auxKeyFunc(GLint key, void(*function(void)); Description Sets a callback function function that the AUX library calls when the key indicated by key is pressed. The window is also redrawn after the processing of this keystroke. Parameters key GLint: Specifies the key with which to associate the given function. This can be one of the values in Table 3-5. function This callback function is prototyped as void CALLBACK KeyFunc(void); This function is called by the AUX library when the specified key is pressed. Passing NULL as this parameter disables a previous key function setting. Returns None. Example See the KEYMOVE supplementary example from this chapter s subdirectory on the CD. See Also auxMouseFunc Table 3-5 Auxiliary Library Key Definitions. Key Value Description AUX_ESCAPE AUX_SPACE AUX_RETURN AUX_LEFT AUX_RIGHT AUX_UP The Escape key The Spacebar key The Return or Enter key The Left Arrow key The Right Arrow key The Up Arrow key
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web and email hosting services

OpenGL Super Bible! Page 71 auxInitWindow Purpose Initializes (Photo web hosting)

Sunday, May 6th, 2007

OpenGL Super Bible! Page 71 auxInitWindow Purpose Initializes and displays the OpenGL rendering window. Include File Syntax void auxInitWindow(GLBYTE *titleString); Description This function opens the window that will be used by OpenGL for drawing operations. The window characteristics must first be set by auxInitDisplayMode() and auxInitPosition(). Parameters titleString GLBYTE: A pointer to a character string that will be used for the window caption. Returns None. Example See any example from this chapter. See Also auxInitDisplayMode, auxInitPosition
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision make web site services

Page 70 OpenGL Super Bible! (Web design seattle) AUX_ALPHA Specifies an

Saturday, May 5th, 2007

Page 70 OpenGL Super Bible! AUX_ALPHA Specifies an ALPHA buffer AUX_FIXED_332_PAL Specifies a fixed 3-3-2 palette for the window auxInitPosition Purpose Sets the window position used by auxInitWindow(). Include File Syntax void auxInitPosition(GLint x, GLint y, GLsizei width, GLsizei height); Description This function tells the AUX library where to place the main graphics window when it is created. Parameters GLint: The position measured in pixels of the top left corner of the window from the left side of the screen. y GLint: The position measured in pixels of the top left corner of the window from the top of the screen. width GLsizei: The initial width of the client area of the window in screen pixels. height GLsizei: The initial height of the client area of the window in screen pixels. Returns None. Example See any example from this chapter. See Also auxInitDisplayMode, auxInitWindow
Note: In case you are looking for affordable and reliable webhost to host and run your business application check Vision php5 hosting services

Web design - OpenGL Super Bible! Page 69 auxInitDisplayMode Purpose Initializes

Saturday, May 5th, 2007

OpenGL Super Bible! Page 69 auxInitDisplayMode Purpose Initializes the display mode of the AUX library OpenGL window. Include File Syntax void auxInitDisplayMode(GLbitfield mask); Description This is the first function that must be called by an AUX library- based program to set up the OpenGL window. This function sets the characteristics of the window that OpenGL will use for drawing operations. Parameters mask GLbitfield: A mask or bitwise combination of masks from Table 3-4. These mask values may be combined with a bitwise OR. For example, to create a window that uses double buffering and color index mode, call auxInitDisplayMode(AUX_DOUBLE | AUX_INDEX) Returns None. Example See any example program from this chapter. See Also auxInitPosition, auxInitWindow Table 3-4 Mask values for window characteristics Mask Value Meaning AUX_SINGLE Specifies a single-buffered window AUX_DOUBLE Specifies a double-buffered window AUX_RGBA Specifies an RGBA-mode window AUX_INDEX Specifies a color-index mode window AUX_DEPTH Specifies a 32-bit depth buffer AUX_DEPTH16 Specifies a 16-bit depth buffer AUX_STENCIL Specifies a stencil buffer AUX_ACCUM Specifies an accumulation buffer
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check Vision mysql hosting services

Page 68 OpenGL Super Bible! Reference Section auxIdleFunc

Friday, May 4th, 2007

Page 68 OpenGL Super Bible! Reference Section auxIdleFunc Purpose Establishes a callback function for idle processing. Include File Syntax void auxIdleFunc(AUXIDLEPROC func); Description Specifies the idle function func() to be called when no other activity is pending. Typically used for animation. When not busy rendering the current scene, the idle function changes some parameters used by the rendering function to produce the next scene. Parameters func This function is prototyped as void CALLBACK IdleFunc(void); This is the user-defined function used for idle processing. Passing NULL as this function name will disable idle processing. Returns None. Example See BOUNCE and BOUNCE2 examples from this chapter. See Also auxSwapBuffers, auxMainLoop, auxReshapeFunc
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web design programs services