---------
I found an example in the forum archive called Modal Renderer and it basically created a dialog box in which a preview of a render was shown while it rendered. My question is if someone could help me convert it from a GeModalDialog to a GeDialog. I have tried to convert it but I have been unsuccessful. My goal is to make it render and show the preview while allowing the user to continue to do work in the background. If I need to show the code I can, it is also in the forum Archives under the subject modal renderer. I would really appreciate any help, thx!
Nate

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/06/2003 at 12:24, xxxxxxxx wrote:

Just wanted to say that I'm not ignoring this message, but just that I haven't got time right now to write any code right now. (See the docs, "The support team will not write code for you. "... ;-)
Perhaps I'll get time to look into it later and extend the example. Until then you should look into the AsyncTest.cpp example and try to ask more specific questions. Sorry for the inconvenience.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/06/2003 at 13:00, xxxxxxxx wrote:

no problem, I understand. At this point the problem is that when I change both dialogs to GeDialogs the parent dialog closes and nothing happens in the child dialog. I am just trying to figure out what is going on. I think it may have something to do with the ID that I am using when calling Open(TRUE, ID, -1, -1) on the child. I am using the same one as the parent. Thanks for your time.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/06/2003 at 18:32, xxxxxxxx wrote:

Ok, I am going to try and be a little more specific with the problem I am having because I think I have a little better handle on it. I have a plugin X. Basically what happens is X is a command plugin that calls a (asynchronous)GeDialog Y. I can have the Dialog Y create a layout and render a document with a certain set of settings and cameras. This works perfectly fine.

Now I create another asynchronous GeDialog Z in the same plugin (Note I give it an unique ID number but its not registered because I only want one option in the plugin menu). I now make Z get called in CommandData::Execute by Z.Open(TRUE, ZID, -1, -1). Z gets some inputs from the user and then calls Y.Open(TRUE, YID, -1, -1). Ok so now when I run this plugin Z works perfectly and Y almost works. When I call RenderDocument(....) nothing happens. The weird thing is that it works when I open Y as a modal dialog or Y.Open(FALSE, YID, -1, -1).
So what happens is
X calls Z
Z calls Y
Y does everything but Render
Any thoughts?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 25/06/2003 at 12:49, xxxxxxxx wrote:

I am beginning to think that you can only call a thread from a GeModalDialog (or GeDialog that is not asynchronous) if the thread has RenderDocument() in it. I mean the dialog will work correctly but thread does not seem to execute RenderDocument or it wont wait until it finishes.
Nate

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/06/2003 at 13:40, xxxxxxxx wrote:

Well after going back to scratch and making my plugin more basic I found my problem. I was closing the parent dialog too soon and not letting the information flow to the child dialog. Thanks for all of your help. Sorry for so many questions.
Nate