HI Alessandro,
On 3/31/07, alessandro terenzi <[EMAIL PROTECTED]> wrote:
Actually I'm playing with 'osgART' library that has a wrapper...and I find
out that it doesn't build anymore because of the changes I talked
about...actually I'm not sure yet that osgart wrapper is really needed for
building osgart application...
I would guess the osgART's wrapper is autogenerated by genwrapper so
I'd expect just running genwrapper again on it would work just fine.
You can grab genwrapper from:
http://www.openscenegraph.com/osgwiki/pmwiki.php/Tasks/GenWrapper
One more problem I'm facing concerns osgViewer and osgart
applications...because osgart apps used the classical while loop in which,
beside refresh and update the viewer, many other things were carried
on...(trackers update...) but now I cannot realize what osgViewer's methods
put in such a loop and how to init the osgViewer in a simple but complete
way.
osgViewer support having a standard frame loop.
osgViewer::Viewer viewer;
// set up scene graph and viewer
while (!viewer.done())
{
viewer.frame();
}
Or more long winded:
while (!viewer.done())
{
viewer.advance();
viewer.eventTraversal();
viewer.updateTraversal();
viewer.renderingTraversals();
}
So you could insert the polling of trackers and passing on of data here.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/