Clipping volume

Lisa S. Avila lisa.avila at kitware.com
Fri Sep 17 22:42:42 EDT 1999


Hello Ron,

The ClippingRange of the camera used to be very conservative (much bigger
than it needed to be) and was not accurately modified in the interactor
when the camera was moved. In order to get better Z buffer accuracy, and to
be able to move around in the interactor without clipping the props, the
clipping range is reset with every significant (ones that could cause the
range to need to change) camera movement caused by the interactor. If you
modify the camera yourself (as you do with camera Dolly 1.5) then you are
not using and interactor, and therefore the camera position, but not the
clipping range is changed. Now that the range is much tighter than before,
this will almost immediately lead to clipping. If you do want to dolly,
then you can call ren1 ResetCameraClippingRange afterwards to make sure the
clipping range is recomputed. The actual cause of these changes was the
addition of a rubber-band zoom to the TkInteractor (if you run decimate.tcl
or sphereFlake.tcl or some other script that uses the TkInteractor, then
you can use shift-right mouse in order to define a rectangle to zoom to.)

Lisa 

At 01:10 AM 9/18/99 +0200, Ron Inbar wrote:
>Hello again!
>
>I recently upgraded from the nightly release of August 11, to the release of
>September 14.  I noticed that my scene, which used to look OK, was
>over-clipped in all directions: x, y and z.  I managed to solve this problem
>by changing the code from
>
>renderer ResetCamera
>camera Dolly 1.5
>
>to just
>
>renderer ResetCamera
>
>I'd like to learn more about this change in the renderer's behavior.  In
>particular, I would like to understand why, when I use the first version of
>the code, the clipping volume doesn't fill the entire viewport, but only a
>rectangle in the center of it.
>
>Any information will be appreciated.
>
>Ron
>
>
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list.  Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>.  For help, send message body containing
>"info vtkusers" to the same address.     Live long and prosper.
>-----------------------------------------------------------------------------
> 



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list