Is it possible to simulate the earth spin effect using osgEarth?

classic Classic list List threaded Threaded
2 messages Options
osgearthworm osgearthworm
Reply | Threaded
Open this post in threaded view
|

Is it possible to simulate the earth spin effect using osgEarth?

Hi, I want to simulate the earth spin (rotate the earth, not the camera) effect. So I have tried to put osgEarth::MapNode as the child of osg::MatrixTransform, osg::PositionAttitudeTransform and osgManipulator::Dragger, but failed to get the results, and it seems that osgEarth::MapNode haven't been affected by its parent at all. I wonder is it possible to simulate the earth spin effect using osgEarth? If not, is there other way to do so?

I have issued the same question on the github of osgEarth, and I realized that maybe it is more proper to post the question here.

The osg version and the osgEarth version I am using is 3.6.5 and 3.0 respectively.

Any hints would be appreciated!

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

Re: Is it possible to simulate the earth spin effect using osgEarth?

Please look at the osgearth_eci.cpp example; it uses a transform above the MapNode.

Posting support questions on GitHub is fine as well :)
Glenn Waldron / Pelican Mapping