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, cursor
Hi,
how does this cursor differ from 3D cursor?
in fact, i am trying to vary height of cursor over virtual earth (Ellipsoidal)
for
object depth measurement.
I am not sure how to manipulate cursor height?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.p
Hi,
Changing cursor file to .png/.jpg works fine.
I will look into Win32 cursor setting as well.
Thank you!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76723#76723
___
osg-users mailing list
osg
Hi Tom
When you use windows you can look on such code:
graphicsWindowWin32->setCursor(osgViewer::GraphicsWindowWin32::MouseCursor::LeftArrowCursor);
https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgViewer/GraphicsWindowWin32.cpp#L2364
and try to understand Win32 of Microsoft
Hi Tom,
The osgPresentation::Cursor is a textured quad geometry rendered as part of
the 3D scene, it's not a conventional desktop cursor. You should use a
image format like .png or .jpg to specify the image.
Robert.
On Thu, 19 Sep 2019 at 17:53, tom joe <
akilan.arokiasw...@community.isunet.edu
Hi,
my code sample is,
std::string cursorFileName = "./crosshair.cur";
osgPresentation::Cursor*cur = new
osgPresentation::Cursor(cursorFileName, 20.0f);
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76712#76712
_
6 matches
Mail list logo