ambient light - wrong side ?
- From: "Gernot Frisch" <Me@xxxxxxxxxxx>
- Date: Fri, 7 Oct 2005 01:29:10 +0200
Hi,
I perform:
gluLookAt();
glLightfv(GL_LIGHT0+num, GL_AMBIENT, light_ambient_color);
glEnable(GL_LIGHT0+num);
glEnable(GL_LIGHTING);
glTranslate();
glDrawModel();
But strangely, the ambient light is _white_ from one side, but if I
turn over camera, the object is blue (ambient_color). What could that
be?
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
.
Relevant Pages
- Re: ambient light - wrong side ?
... > gluLookAt(); ... > glTranslate(); ... > glDrawModel(); ... > But strangely, the ambient light is _white_ from one side, but if I ... (comp.graphics.api.opengl) - Re: need help: is it possible to change projection matrx after draw?
... The simple reason is that there is NO camera in opengl. ... second call to glTranslate. ... capture wglSwapBuffers. ... the wglSwapBuffers is the only api which can identified the end draw of ... (comp.graphics.api.opengl) - Re: Cooled CCD cameras - Recommendations?
... Similar to darkfield or oblique illumination I ... The issue here is that the camera can make a "decent" image using only ... using a condenser is better than ambient light. ... (sci.techniques.microscopy) - Re: Flash vs. Ambient light...
... Why did the camera choose 15 s in Av mode when in M mode 1/125 s was ... What flash power level was used. ... shutter speed in Av mode but the camera will still meter for ambient light ... do I have a choice to use modes other than ETTL with a Canon speedlite ... (rec.photo.digital) - Re: Question about using Canon 20D with studio stobes
... By selecting anything with automatic exposure, the camera is metering for ... the ambient light - and hence goes for a very low shutter speed (which also ... (rec.photo.digital.slr-systems) |
|