Greetings Paul!
I think I figured it out - or at least it seems to work for now!

Apparently when I was setting up my camera, I used the following code:

Code:

planview->getCamera()->setProjectectionMatrixAsPerspective(45.0f, 
static_cast<double>(ui->frame->width())/static_cast<double>(ui->frame->height()),
 0.0001f, 1000000.0f);
planview->getCamera()->setNearFarRatio(0.0001f);



Then for some reason I added:

Code:

planview->getCamera()->setComputeNearFarMode(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES);



I commented out that line of code and the hole disappeared. I can zoom in on a 
line as it doesn’t disappear.  

So, I'm not sure if I needed it or not!
... 
D Glenn

------------------------
D Glenn (a.k.a David Glenn) - Join the Navy and See the World ... from your 
Desk!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31003#31003





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to