PDA

View Full Version : Messed up fog (Hardware problem?)



07-02-2003, 02:16 PM
hi

When i use opengl the fog sometimes totally covers all objects and doesn't even change other objects, just depending on the direction my camera is facing.

(EX: Rotation=0, no fog; Rotation=3.14, all is covered with fod)

I didn't have this problem before on my GeForce 4 MMX, but it happens on the GeForce 4 TI and the Radeon 9800. All the good ones. http://www.opengl.org/discussion_boards/ubb/frown.gif

My computer has the Radeon 9800 with the latest drivers.

Any ideas would be usefull
thanks

Mazy
07-02-2003, 11:26 PM
I hope you dont put camera movements into the projection matrix

07-03-2003, 09:55 AM
All i use to make the camera look at is:

glmatrixmode GL_MODELVIEW
glloadidentityu
glulookat (then coordinates)

i also use GL_EXP2 for the fog type