Hello,robert!
I want to use the code:
> osgProducer::Viewer::SceneHandlerList::iterator sh_it =
> viewer.getSceneHandlerList().begin();
> osgProducer::OsgSceneHandler* sh =sh_it->get();
to load the nodes from the commandline arguments.
What should I do ?
Thank you~~~
>Hi GuiYei,
>The osgViewer doesn't have an OsgSceneHandler and their isn't an equivalent.
>Perhaps you could provide a bit of information about what you were
>doing with the OsgSceneHandler then we might be able to suggest how to
>replace this code.
>Robert.
>2008/1/16 GuiYe <[EMAIL PROTECTED]>:
>
>
>
> Hello~~
>
> I once wrote some in OpenSceneGraph1.2.Now I use OpenSceneGraph2.2,I want
> to rewrite it.But I can't find some functions to replace some code:
>
> osgProducer::Viewer::SceneHandlerList::iterator sh_it =
> viewer.getSceneHandlerList().begin();
> osgProducer::OsgSceneHandler* sh =sh_it->get();
>
>
> Who can give me some code to replace all above code in
> OpenSceneGraph2.2??
>
> Thank you~~~~~~
>
>
> ________________________________
>
> 又过年了,千万别忘了把你的爱带回家
> 为爱珍选,唯有金典
> _______________________________________________
> 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
又过年了,千万别忘了把你的爱带回家
为爱珍选,唯有金典
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org