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> 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@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to