Dear ereryone, I want to realize the earth rotation around itself, i use callback way to realize,but no success. I can see other model rotate, but the earth did not rotate. I Think the earth should rotate, only because the imagelayer and ElevationLayer do not rotate,so cannot see earth rotate. i do not know how to solve the problem.hoping for your help.Any idea is welcome. Thanks very much. The below is the main code.
I uese OSGEARTH 2.10，OSG3.6.5,visual studio 2013.
m_pmap = new osgEarth::Map(m_mapOpts);
m_pmapNode = new osgEarth::MapNode(m_pmap);
mt = new osg::MatrixTransform();
class simpleCallBack :public osg::NodeCallback
Thank you very much for your quick reply.
Yes,I use the EarthManipulator camera manipulator. when I use the camera way to control rotation,the sky can rotate,too. I only want to rotate the earth. Could you give me some suggestions? Thanks.