There is a singularity in OverlayNode.cpp in the 
traverse_VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY method.  This singularity 
is evident when frustum_axis (line 1463) approaches lookVector (line 1465).  
To resolve this, I added the following code following sideVector.normalize() 
(line 1476):

if (sideVector.length() < 1.0)
{
    sideVector = osg::Vec3d(1.0, 0.0, 0.0);
}

Is this a reasonable fix?

Thanks,
Justin
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to