From: owner-3dui@hitl.washington.edu on behalf of Wolfgang Stuerzlinger [wolfgang@cs.yorku.ca] Sent: Wednesday, August 16, 2000 5:32 PM To: Jeff Pierce Cc: 3d-ui@hitl.washington.edu Subject: Re: Far clipping planes Jeff Pierce wrote: > > Here's a quick question for the list. In the 3D toolkit you use, whatever > it may be, where do you typically set the far clipping plane distance? Or, > if you never change it, what is the default distance? > > Jeff Quick answer: I have found that the diagonal of the bounding box for the "universe" times a fudge factor (1.05) works well. It guarantees that I will always see everything there is while maximizing z-buffer resolution. Wolfgang P.S: If you really want to maximize z-buffer resolution do view frustum culling before rendering and determine the distance to the far point of the (bounding box of the) farthest object. -- Wolfgang Stuerzlinger Dept. of Computer Science; York University CCB 256; 4700 Keele Street; Toronto, Ontario, M3J 1P3; Canada wolfgang@cs.yorku.ca http://www.cs.yorku.ca/~wolfgang