Hi Gerry, It seems like you need to adjust your view matrix in order to see the new scene. If you have a camera manipulator, it can do it for you by calling home(). Hitting the space bar should do the same thing.
Mourad On Tue, Oct 19, 2010 at 5:47 PM, Gerry Danza <g.da...@mclink.it> wrote: > Hi, > > I am really a newbie and got a bit lost on this problem > I have everything running fine if i load a osg file but after that > when i add dynamically a new Node for example a simple line this never > shows in the display. > > I add the new entities in a Update callback . > I have tried to follow the render stage but got lost . > > I suppose there is some kind of flag i have to set to ask for a rebuild of > the object or scenegraph but found nothing in the docs and even reading the > headers. > > I have also set a DrawCallback on my new geod and it never gets called > > Any tip on what to look at > > Thank you! > > Cheers, > gerry > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=32864#32864 > > > > > > _______________________________________________ > 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