Robert,

I want to present a message (osg::Text) to the user just before I do a
osgDB::readNodeFile on a visual database. I turn the switch on to show
the dialog right before loading the database. The dialog shows up only
AFTER the database has been loaded. I just want to hold off loading the
database until the dialog actually shows up. What do you think I can do
to accomplish this? Sorry to take your time on this.

John

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Monday, July 31, 2006 11:26 AM
To: osg users
Subject: Re: [osg-users] Callbacks and waiting

Hi John,

I'm really not sure what you are trying to do and why, this type of
stuff really sounds in your application domain and something you've got
to work out.  I'd recommend just going through the OSG examples.
Try the run_examples.bat as a way of running through them, press escape
to exit each app and move on.

Robert.

On 7/31/06, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote:
>
>
>
> Robert,
>
> I created an update callback that sets a member bool to true. In the 
> method which alters the switch to turn on all children, I do a while 
> on the variable that should break when it is set to true. The callback

> is calling the set to true method, but it stops calling when I am in 
> the while loop, so the while loop never breaks. Are there any examples

> anywhere of code that waits for something to actually be rendered to 
> screen? Does it sound like a threading model problem? I can't figure 
> out a method that works for the life of me. Please help!
>
> Thanks again,
> John
> _______________________________________________
> 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/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to