The GeodeticGraticule renders a conflict when adding a oblique model using the TerrainGeneNode.

classic Classic list List threaded Threaded
3 messages Options
Mirro187 Mirro187
Reply | Threaded
Open this post in threaded view
|

The GeodeticGraticule renders a conflict when adding a oblique model using the TerrainGeneNode.



 GeodeticGraticule* graticule = new GeodeticGraticule();
 mapNode->getMap()->addLayer(graticule);

osgEarth::TerrainEngineNode* p = mapNode->getTerrainEngine();
osgEarth::GeoTransform* pGeo = new osgEarth::GeoTransform();
pGeo->addChild()//add oblique photography Node from file
p->addChild(pGeo);


gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: The GeodeticGraticule renders a conflict when adding a oblique model using the TerrainGeneNode.

I don't know what you are doing, but I do know you should not add children to the terrain engine.
Glenn Waldron / Pelican Mapping
Mirro187 Mirro187
Reply | Threaded
Open this post in threaded view
|

Re: The GeodeticGraticule renders a conflict when adding a oblique model using the TerrainGeneNode.

thank you for your reminder