[osg-users] Custom

2019-09-18 Thread tom joe
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

Re: [osg-users] Custom cursor problem?

2019-09-19 Thread tom joe
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

Re: [osg-users] Custom cursor problem?

2019-09-24 Thread tom joe
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,

Re: [osg-users] Custom cursor problem?

2019-09-22 Thread tom joe
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:

Re: [osg-users] Custom cursor problem?

2019-09-20 Thread tom joe
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