I got it.

Thanks 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Monday, January 22, 2007 10:56 AM
To: osg users
Subject: Re: [osg-users] Going from qosgwidget to just osgProducer

Hi John,

On 1/22/07, Whitfield, John M. (SED/TMI)
<[EMAIL PROTECTED]> wrote:
> I guess my problem now is that the nodes only show up in the 
> scenegraph after they have all been added. I need something like 
> requestRedraw(), which I believe called updateGL(), since 
> viewer.update() doesn't seem to be doing it. I did solve the control
problem though, I think.

I'm afraid I'm just too remote from what you are trying to do and how
you are trying to do it to know tell you what to do.

The OSG can only be updated during the update phase of the scene graph,
even the database pager only updates the scene graph during this phase.
All the things that you add to the scene graph and then dispatch a draw
on will be rendered.  If this isn't happening then its purely down to
your app, there isn't any additions to the OSG that will help this - you
have to manage your updates the scene graph and you have to manage when
you let the frame happen.  Everything is under your control, if it
doesn't work how you want it then I'm afraid you're going to have to
work out things, I can't help.


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/

Reply via email to