Hi,
Attempted to create custom cursor using osgPresentation::Cursor(..).
The result shows up rectangular patch at cursor position. Attached my output.
Cheers,
tom
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76690#76690
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
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,
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:
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
5 matches
Mail list logo