Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


frusty


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 vanne   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 July 2001 - 12:37 AM

hallo 1st time poster here.. my primitves get culled when they go too far into the distance, but they''re really snapped away. is there some easy limit to set (the frustrum(?)?).. how do I do that? any help would be greatly appreciated, thanks.. cheers..

Sponsor:

#2 Dean Harding   Members   -  Reputation: 546

Like
Likes
Like

Posted 17 July 2001 - 12:48 AM

It''s spelt "frustum". It seems to confuse a lot of people, actually

As to your specific question, the far clipping plane is a part of your projection matrix. If you want to extend it, look at how that is set up. Just remember that the further you far clipping plane is, the less precision you''ll have (since the same [0,1] mapping has to be spaced over a larger distance) and you might get noticible artifacts. If you''re using gluPerspective to set the perspective transform, the far clipping plane is set with the 4th parameter, zFar.

If you''re looking at making object appear to slowing fade in from the distance, look into distance-based fog (with things like glFog().)


War Worlds - A 3D Real-Time Strategy game in development.

#3 vanne   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 July 2001 - 02:43 AM

thanks! that sure did the trick!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS