[osg-users] Custom cursor problem?
Robert Osfield
robert.osfield at gmail.com
Thu Sep 19 10:08:54 PDT 2019
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.arokiaswamy at community.isunet.edu> wrote:
> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190919/9ca947b3/attachment.html>
More information about the osg-users
mailing list