Web hosting top - OpenGL Super Bible! Page 353 glGetLightfv(GL_FRONT,GL_DIFFUSE,diffuseComp); glGetLightfv(GL_FRONT,GL_SPECULAR,specularComp); See
OpenGL Super Bible! Page 353 glGetLightfv(GL_FRONT,GL_DIFFUSE,diffuseComp); glGetLightfv(GL_FRONT,GL_SPECULAR,specularComp); See Also glLight Table 9-2 Valid Lighting Parameters for glGetLight Property Meaning of Return Values GL_AMBIENT Four RGBA components. GL_DIFFUSE Four RGBA components. GL_SPECULAR Four RGBA components. GL_POSITION Four elements that specify the position of the light source. The first three elements specify the position of the light. The fourth, if 1.0, specifies that the light is at this position. Otherwise, the light source is directional and all rays are parallel. GL_SPOT_DIRECTION Three elements specifying the direction of the spotlight. This vector will not be normalized, and will be in eye coordinates. GL_SPOT_EXPONENT A single value representing the spot exponent. GL_SPOT_CUTOFF A single value representing the cutoff angle of the spot source. GL_CONSTANT_ATTENUATION A single value representing the constant attenuation of the light. GL_LINEAR_ATTENUATION A single value representing the linear attenuation of the light. GL_QUADRATIC_ATTENUATION A single value representing the quadratic attenuation of the light.
From our experience, we are can tell you that you can find a reliable and cheap webhost service at Java Web Hosting services.