Advertisement

FOV

Started by April 27, 2001 09:20 AM
1 comment, last by Avatar 23 years, 7 months ago
I''ve just been through several of the tutorials, after not having touched OpenGL in a few years. Is there any way to adjust the FOV and flatten out space a bit? Or perhaps a better question would be, is there a not overly difficult way to change the field of view? Thanks!
can''t u just select the projection matrix, load the identity matrix, use gluperspective, and switch back to the model matrix?

as code i mean something like:
  glMatrixMode(GL_PROJECTION);glLoadIdentity();gluPerspective((GLfloat)fov,(GLfloat)width/(GLfloat)height,0.1f,100.0f);glMatrixMode(GL_MODELVIEW);  
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
Advertisement
That is correct.
Alex BroadwinA-Tronic Software & Design-----"if you fail in life, you were destined to fail. If you suceed in life, call me.""The answer is out there.""Please help, I'm using Windows!"

This topic is closed to new replies.

Advertisement