Fog + gluPerspective

Hi all,

   I would like to ask is it possible that I try to limit the vision of the player by setting gluPerspective(30.0f,(GLfloat)width/(GLfloat)height, 4 1000.0f); and then set glFogf(GL_FOG_START, 0);glFogf(GL_FOG_END, 500.0f); to hide the clipping plane? As I want to use it to limit the vision to lower the number of triange visible to the player ...

Yes, this is possible, and infact it is a very common technique. The key thing is to make sure your background color and fog color match so that the scene blends into the background in the distnce.