PDA

View Full Version : Screeen Depth



Gelero
08-24-2001, 11:15 AM
hello guys!

im working on a zaxis scrolling game...
and i think my zaxis is too short... i mean.. i only can see the objects when they are "very close" like a 200 points...

like:
object z coordinate = -200
camera z coordinate = 0
what i have to do to increase the depth of my fov...

follows the screenshot:

http://www.meubrfree.com.br/~meteor/screen.jpg

by the way, the big quad (with texture) is too much bigger in -z axis...


thank you!



[This message has been edited by Gelero (edited 08-24-2001).]

Gelero
08-24-2001, 05:18 PM
UP!

Bob
08-25-2001, 12:26 AM
Push the far clipping plane further away.

[This message has been edited by Bob (edited 08-25-2001).]

Gelero
08-25-2001, 09:18 PM
Originally posted by Bob:
Push the far clipping plane further away.

[This message has been edited by Bob (edited 08-25-2001).]

and how can i do that???

Gelero
08-26-2001, 06:59 AM
help help help !!!!

Gelero
08-26-2001, 07:23 AM
sample code please!!!
http://www.opengl.org/discussion_boards/ubb/frown.gif

DFrey
08-26-2001, 07:57 AM
Somewhere in your code you have likely used either gluPerspective or glFrustum, the last term of either of those is zFar. Raise that value. You may also need to raise zNear, the value just before zFar in those functions, since it is the ratio of those two values that determines how the z buffer values are apportioned.