gluQuadricNormals

specify what kind of normals are desired for quadrics

Signature

gluQuadricNormals( GLUquadric* ( quad ) , GLenum ( normal ) )-> void
gluQuadricNormals( quad , normal )
gluQuadricNormals( POINTER(GLUquadric)(quad), GLenum(normal) ) -> None

Parameters

VariablesDescription
quad
Specifies the quadrics object (created with gluNewQuadric ).
normal
Specifies the desired type of normals. Valid values are GLU_NONE , GLU_FLAT , and GLU_SMOOTH .

Description

gluQuadricNormals specifies what kind of normals are desired for quadrics rendered with quad . The legal values are as follows:
GLU_NONE
No normals are generated.
GLU_FLAT
One normal is generated for every facet of a quadric.
GLU_SMOOTH
One normal is generated for every vertex of a quadric. This is the initial value.

See Also

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.

gluQuadricNormals
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 106
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 56
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 96
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 172
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 310
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 73
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Spheres.py Lines: 53