I've noticed some weirdness with the TerrainManipulator.  I assume this is a
bug but maybe not?

 

The simplest way to produce this behavior is to run osgviewer and feed it
something.  I've been feeding it a globe of the blue marble data created
using the osgdem tutorial page.  This is the older vpb/osgdem format.  I
assume the behavior is the same with the new stuff.

 

Ok next I have my globe and everything is hunky dory.  Now I zoom in to look
somewhere on the earth surface.  I rotate the camera using left mouse so
that the camera is BELOW the terrain of the point I was looking out.  Now I
zoom out so that the camera comes out the opposite side of the earth.  I'm
now looking at a point directly on the other side of the earth from where I
was looking at a second ago.

 

Now if I try to pan the terrain (middle mouse) things are screwed up and
directions are reversed.  It looks like the math is not able to handle this
type of scenario.

 

I have a recent version of Open Scene Graph (v 2.9.0) from the trunk (about
a week or so old).

 

Thanks

-Brad

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to