Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

robirt

Max far clip plane distance?

This topic is 5460 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!