glFog

specify fog parameters

Signature

glFog( )->
glFogf( GLenum ( pname ) , GLfloat ( param ) )-> void
glFogf( pname , param )
glFogfv( GLenum ( pname ) , const GLfloat * ( params ) )-> void
glFogfv( pname , params )
glFogi( GLenum ( pname ) , GLint ( param ) )-> void
glFogi( pname , param )
glFogiv( GLenum ( pname ) , const GLint * ( params ) )-> void
glFogiv( pname , params )

Parameters

VariablesDescription
pname
Specifies a single-valued fog parameter. GL_FOG_MODE , GL_FOG_DENSITY , GL_FOG_START , GL_FOG_END , GL_FOG_INDEX , and GL_FOG_COORD_SRC are accepted.
param
Specifies the value that pname will be set to.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glFog
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 468, 470, 471, 472, 475
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 468, 470, 471, 472, 475
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 468, 470, 471, 472, 475
glFogf
OpenGL-Demo PyOpenGL-Demo/tom/fog.py Lines: 32, 33, 55
OpenGL-Demo PyOpenGL-Demo/redbook/fog.py Lines: 92, 94, 95
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 191, 192
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 88, 92, 94
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 209, 212, 213
{LGPL} Pyggel pyggel/view.py Lines: 177, 179, 180, 254, 255
glFogfv
OpenGL-Demo PyOpenGL-Demo/tom/fog.py Lines: 54
OpenGL-Demo PyOpenGL-Demo/redbook/fog.py Lines: 91
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 190
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 86
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 210
{LGPL} Pyggel pyggel/view.py Lines: 237
glFogi
OpenGL-Demo PyOpenGL-Demo/tom/fog.py Lines: 34, 36, 53
OpenGL-Demo PyOpenGL-Demo/redbook/fog.py Lines: 90, 138
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 189, 194
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 84
{LGPL} Pyggel pyggel/view.py Lines: 176