hi there~ I'm newbie to osg&osgEarth, I had a lot confusion recently when I add an to an earth.Here is the screen gif I captured.
if the image did not animate use this link.
The osg::Geode I created was a triangle grid had almost 10k vertices.While the GRID I created was zooming in /out, it would be sometimes disappeared .At first I thought it may be z-fighting problem, so I add an offset(400) to elevation , BUT the problem is still on. On the other hand, I found a polygon created by osgEarth::ModelLayer which loaded from a SHP file worked fine.Could you give me a clue?Thank U in advance
--------------below is the code I create this geode-------------------
osg::ref_ptr<osg::Geometry> geo = new osg::Geometry;
osg::ref_ptr<osg::Vec3Array> geoPt = new osg::Vec3Array();