[osg-users] OpenSceneGraph 2.19 osgViewer

Eric ZAREMBA eric.zaremba at ersa-france.com
Wed Sep 5 00:25:15 PDT 2007

I'm porting my application from 1.2 to 2.x too and meet the same problem.


To render an empty scene, I do a viewer->setSceneData(new osg::Node); 


In osgViewer the function frame() do all the work for you and, anyone can correct me if I'm wrong, you do not need to call any update() anymore but only the frame() function.


I didn't find any porting guide. Anyway, I didn't have to do a lot of modification for my app running even if I think they are more elegant way to do what I want appearing in version 2.


Best Regards



De : osg-users-bounces at lists.openscenegraph.org [mailto:osg-users-bounces at lists.openscenegraph.org] De la part de #POH CHENG GUAN#
Envoyé : mercredi 5 septembre 2007 05:04
À : osg-users at lists.openscenegraph.org
Objet : [osg-users] OpenSceneGraph 2.19 osgViewer




Is it possible to just render an empty background without loading a model? If I set my viewer->setSceneData(0), osgViewer crashes when it comes to viewer->realize().


Does anyone have a porting guide from version 1.2 to 2.19? The online version is quite brief, in version 1.2, I will call viewer->update(), what is the function that replaces this call for version 2.19?





The sender of this email is NOT authorized to represent or act on behalf of Nanyang Technological
University in any matter or transaction by means of using this email account.

Nanyang Technological University will not be responsible for any content or views expressed in this 
email and this email does not express the views or opinions of the Nanyang Technological University.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070905/bca7c10a/attachment-0003.htm>

More information about the osg-users mailing list