Hello ,I'm a new in osg. LastWeek,I see some works of VR .I find that many of
them have a beautifulcursor.I want to Load a cursor from file("arrow.ani") in a
very simple program just like:#include <osgProducer/Viewer>#include
<osgDB/ReadFile> int main(){ osg::ref_ptr<osgProducer::Viewer> viewer = new
osgProducer::Viewer() ; viewer->setUpViewer() ; osg::Node * node =
osgDB::readNodeFile("cow.osg") ; viewer->setSceneData(node) ;
viewer->viewer->realize() ; while(!viewer->done) { viewer->sync() ;
viewer->update() ; viewer->frame() ; } viewer->sync() ;
return 0 ;}Now I don't add my code to it. I try it in many ways , but it is
failed . Who can give me a example for that ???? If you know ,please answer me
and give me the code of the example..... Thank you!!!
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org