Max far clip plane distance?

Started by
2 comments, last by robirt 20 years, 8 months ago
What is the maximum distance that can be used for the far clip planein OpenGL?
Rodger
Advertisement
I haven''t tested it, but judging from the spec you are limited to the accuracy of a GLdouble. Basically, the largest value of GLdouble.
Interests: my money-pit car, computer hardware/programming, anything 3D'93 RX-7
do you know what that value is?
Rodger
Yes. It''s insanely large. Don''t use it. The further away your far clipplane is, the further you will see. True. But you will loose a lot of resolution because the same 16 (or was it 32?) bits of depth have to be used for a far longer distance. If you set it too high you will get a lot of rendering artifacts. Just try it. Get one of NeHe''s demo''s (like tut10: level loading) and set the fa clipplane to 10000.0f or 100000.0f and see what happens. Most common suggestions:

Near clip plane: Always 1.0f or bigger. Never below 1.0f.
Far clipplane: Depends on your needs but don''t go bigger that 1000.0f. Personally I use 100.0f or 300.0f. Works fine.

Sander Maréchal
[Lone Wolves Game Development][RoboBlast][Articles][GD Emporium][Webdesign][E-mail]


GSACP: GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!

<hr />
Sander Marechal<small>[Lone Wolves][Hearts for GNOME][E-mail][Forum FAQ]</small>

This topic is closed to new replies.

Advertisement