Members - Reputation: 122
Posted 17 July 2001 - 12:37 AM
Members - Reputation: 546
Posted 17 July 2001 - 12:48 AM
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.