Nightly : bug in vtkCamera::GetFrustumPlanes
Lisa S. Avila
lisa.avila at kitware.com
Wed Oct 6 23:59:09 EDT 1999
Hi John,
Thanks for finding that. I just fixed it - I changed the calculations to
double and checked for a divide by zero.
Lisa
At 12:55 AM 10/7/99 +0100, John Biddiscombe wrote:
>Nightly Download Wed 6th Oct.
>
>in...
>void vtkCamera::GetFrustumPlanes( float aspect, float planes[24] )
>
>Zooming in on a model sometimes causes Div by zero
>
>The computation of the planes normal can throw a wobbly when
>t = sqrt((a*a) + (b*b) + (c*c))
>and t=0
>
>next division causes problems.
>
>Haven't looked at fixing it, but just thought I'd mention it.
>
>John B
>
>
>
>
>
>
>
>-----------------------------------------------------------------------------
>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