Hi,Hi,Here we can add texture image by using imageoverlay function i posted the 
code below it explains all about it.

#include <osgEarthAnnotation/ImageOverlay>

osg::ref_ptr<osg::Group> root = new osg::Group;
ImageOverlay *imageoverlay = NULL;
osg::ref_ptr<osg::Image> image = osgDB::readImageFile("Indiaimage.jpg");
imageoverlay = new ImageOverlay(mapNode, image);
imageoverlay->setBounds(Bounds(74.56, 26.21, 77.12, 28.36));
root->addChild(imageoverlay);

Detail texture file is not there in osg earth ? Hope this provide the required 
image on the osgearth with latitude,longitude readings.


... 

Thank you!

Cheers,
Rambabu

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to