Jump to content

  • Log In with Google      Sign In   
  • Create Account


textures and fogging


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 Rondrik   Members   -  Reputation: 122

Like
Likes
Like

Posted 22 October 2001 - 08:38 AM

Hi, I have a strange problem. Everytime I activate fog all my textures on my cubes disappear and the surfaces turn grey. What is the problem, does it depend on the winding because I use CW rotation. Thanx.

Sponsor:

#2 Maximus   Members   -  Reputation: 124

Like
Likes
Like

Posted 22 October 2001 - 07:11 PM

Check the distance settings you''re using with your fog. If an object is too deep in the fog, it will be completely

#3 Rondrik   Members   -  Reputation: 122

Like
Likes
Like

Posted 22 October 2001 - 09:18 PM

quote:
Original post by Maximus
Check the distance settings you''re using with your fog. If an object is too deep in the fog, it will be completely


The problem isn''t the fact that my wohle model is disappearing but that the textures are just not there anymore, the faces turn just grey. But the model by itself is visible.


#4 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 23 October 2001 - 10:25 PM

I think this has something to do with lighting normals.....

#5 Maximus   Members   -  Reputation: 124

Like
Likes
Like

Posted 23 October 2001 - 11:15 PM

Fogging doesnt work on lighting normals, rather it uses the information in the depth buffer.

If a polygon is too deep in fog the entire polygon will appear textureless, and be entirely in the colour of the fog.

#6 Scarab0   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 October 2001 - 02:03 AM

quote:
The problem isn''t the fact that my wohle model is disappearing but that the textures are just not there anymore, the faces turn just grey. But the model by itself is visible.

Well AFAIK OpenGL doesn''t actually draw any fog besides on object''s themselves. So if you set a grey fog color and set the background color to blue, you could get a totally grey cube on a blue background. The cube would be totally fogged, but it looks odd because the background is not fogged. If you move your cube closer to the camera, it will be less grey and more textured but it will still be on a blue background.

Is this what you are experiencing?


#7 Marvin   Members   -  Reputation: 127

Like
Likes
Like

Posted 24 October 2001 - 08:08 AM

aye that is correct scarab, i belive his fog is way too deep




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS