The scene is initially loaded then data from a file generates more nodes for the scene. I have already explicitly been calling requestRedraw through qosgwidget, which does an updateGL() on its side. So, I guess what I'm asking is how do I accomplish something similar with osgsimpleviewerqt3?
Thanks, -John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Thursday, December 14, 2006 3:58 PM To: osg users Subject: Re: [osg-users] Switch from qtosgwidget to osgsimpleviewerqt3 Hi John, On 12/14/06, Whitfield, John M. (SED/TMI) <[EMAIL PROTECTED]> wrote: > I am not working with paged databases right now. I am simply drawing > lines, adding them to a scene, and then removing them from the scene. > I would like them to appear as they are added and disappear as the > removed from the scene. Right now it adds and removes them but it only > shows the ones that are in the scene at the end. You know what I'm saying? When are you adding/removing things? I'd recommend you do this from the update phase of the viewer (ie. subclass from SimpleViewer and overrride SimpleViewer::frameUpdateTraversal), or by explictly calling the redraw of the window yourself. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
