class grFog: public grNode

Fog specification

Inheritance:


Public Fields

[more]GLboolean enabled
Enable or disable the fog.
[more]GLint mode
Fog blend factor, values: GL_LINEAR, GL_EXP, and GL_EXP2
[more]GLfloat density
Fog median density, values: (0 - infinity)
[more]GLfloat start
Depth start position (0,infinity)
[more]GLfloat end
Depth end position (>start) (0,infinity)
[more]grColor4f color
The Fog color, note: must be equal to background color!

Public Methods

[more] grFog()
Default constructor
[more]void Get()
Retrieves settings from internal opengl status
[more]char* Name() const
see grnode.


Inherited from grNode:

Public Methods

ovoid Render( grStatus & status )
ovoid Select( grStatus & status )
ogrNode* FindByName( const GLuint name )


Documentation

Fog specification. This node manipulates the fog effect.
o grFog()
Default constructor

ovoid Get()
Retrieves settings from internal opengl status

ochar* Name() const
see grnode.

oGLboolean enabled
Enable or disable the fog.

oGLint mode
Fog blend factor, values: GL_LINEAR, GL_EXP, and GL_EXP2

oGLfloat density
Fog median density, values: (0 - infinity)

oGLfloat start
Depth start position (0,infinity)

oGLfloat end
Depth end position (>start) (0,infinity)

ogrColor4f color
The Fog color, note: must be equal to background color!


This class has no child classes.
See Also:
opengl.

Alphabetic index HTML hierarchy of classes or Java


GCR, Graphics Library, VCG, IEI-CNR.