Hello,

I am also new, but I think you have to do something like this in your main methode:

osgViewer::Viewer viewer;
viewer.setSceneData( rootNode );
viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded);
return viewer.run();

If not, please correct me ;)

Marcus

belthil schrieb:
Hello!
It's the first time i'm updating OpenSceneGraph. And now i'm trying to install OpenSceneGraph-1.9.4 instead of my last version (OSG-1.2). And as it's explained in the website, osgProducer has been replaced by osgViewer. So i changed this declaration:
osgProducer::Viewer viewer(arguments)
to this one:
osgViewer::Viewer viewer(arguments)
But with this, when compiling i have lots of errors about this class. Apparently in this new class there are not the functions like "addCameraManipulator" or "sync" or "cull" or "update" and so on anymore. And it even does not like the parameter "arguments". What is the solution to resolve this problem? Are those functions in another class now? What do i have to do? I thank you very much! Bye bye Belthil


/Créez votre adresse électronique [EMAIL PROTECTED]
1 Go d'espace de stockage, anti-spam et anti-virus intégrés./
------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

--
----------------------------------------------------------------
Marcus Fritzen                  E-mail: [EMAIL PROTECTED]
University Koblenz              Mobil:  +491786867360
Triererstr. 105, 56072 Koblenz, 
HIWI FB4 Herr Jackel
----------------------------------------------------------------

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to