Hi, I calculate cursor position in osgEarth. My Graph is like,
osg::PositionAttitudeTransform (PAT) | | | \/ cursor Node the PAT's setPosition is computed from, Geopoint srcMap(src_SRS, lon, lat, height); srcMap.transform(dst_SRS, dstMap); dstMap.toWorld(SRS, cursorPosition); All works fine. But when I vary the height, the cursor moves horizontal. Expected it to move between viewpoint and earth (perpendicular to earth). The idea is to visualize the cursor depth variation in stereo. What way could it be done? Thanks ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76738#76738 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org