I drew a line and a cone, and i zoomed in the scene to some extents, the line or the cone just disappeared, and it appeared agian when i zoomed out them, Why?
I had set up "m_pVview->getCamera () ->setNearFarRatio (0.0000001)";
This is my code:
osg::ref_ptr<osg::Cone> cone = new osg::Cone;
osg::ref_ptr<osg::ShapeDrawable> shap = new osg::ShapeDrawable(cone);
osg::ref_ptr<osg::Geode> geode = new osg::Geode;