Nightly : bug in vtkCamera::GetFrustumPlanes

John Biddiscombe j.biddiscombe at rl.ac.uk
Wed Oct 6 19:55:33 EDT 1999


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.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list