|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | Hi everybody,
this might be a trivial subject but I'm not able to figure out how to do it.
I'm programming a little tool to help me with textures in POV-Ray and I would
like to have a preview in it. At the moment I'm using MegaPOVs command line
version to create the pictures and load the .tga into the program. But this way
I have to wait until the picture is finished to see it.
Is there a way to redirect the output stream of MegaPOV to my program, so that I
can see the rendering directly?
I'm using Delphi2005 on Windows.
Thanks for your help,
em-sigma
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | "em-sigma" <em-### [at] web de> wrote:
> Hi everybody,
>
> this might be a trivial subject but I'm not able to figure out how to do it.
>
> I'm programming a little tool to help me with textures in POV-Ray and I would
> like to have a preview in it. At the moment I'm using MegaPOVs command line
> version to create the pictures and load the .tga into the program. But this way
> I have to wait until the picture is finished to see it.
>
> Is there a way to redirect the output stream of MegaPOV to my program, so that I
> can see the rendering directly?
>
> I'm using Delphi2005 on Windows.
>
> Thanks for your help,
>
> em-sigma
HI,
You can try to use the redirection of the streams with
Redirecting options on the command line
  GI<name>= write all .INI parameters to file name
  Gx<name>= write stream x to console (and/or optional file name)
            GA - All streams (except status)
            GD - Debug stream
            GF - Fatal stream
            GR - Render stream
            GS - Statistics stream
            GW - Warning stream
Fabien Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  | 
| From: Nicolas Alvarez Subject: Re: MegaPOV Output directed to a external program
 Date: 13 Apr 2008 15:46:49
 Message: <48026329$1@news.povray.org>
 
 |  |  | 
|  |  | 
|  |  | 
|  |  | 
> You can try to use the redirection of the streams with
> Redirecting options on the command line
None of which gives the image.
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  | 
| From: Jan Dvorak Subject: Re: MegaPOV Output directed to a external program
 Date: 13 Apr 2008 16:00:48
 Message: <48026670$1@news.povray.org>
 
 |  |  | 
|  |  | 
|  |  | 
|  |  | em-sigma napsal(a):
> Hi everybody,
> 
> this might be a trivial subject but I'm not able to figure out how to do it.
> 
> I'm programming a little tool to help me with textures in POV-Ray and I would
> like to have a preview in it. At the moment I'm using MegaPOVs command line
> version to create the pictures and load the .tga into the program. But this way
> I have to wait until the picture is finished to see it.
> 
> Is there a way to redirect the output stream of MegaPOV to my program, so that I
> can see the rendering directly?
> 
> I'm using Delphi2005 on Windows.
> 
> Thanks for your help,
> 
> em-sigma
> 
> 
The easiest way is to make a GUI extension.
 Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | Jan Dvorak <jan### [at] centrum cz> wrote:
> The easiest way is to make a GUI extension.
What is that supposed to mean?
I know that a preview is realized in Moray and Bishop3D at least. Is it possible
to do something similar?
And how is it done?
Thanks, em-sigma Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | On Thu,  3 Apr 2008 02:35:07 EST, "em-sigma" <em-### [at] web de> wrote:
>
>this might be a trivial subject but I'm not able to figure out how to do it.
You could always send a command to Mega-Pov and read the resulting
saved image output file, in your program. Please don't ask me the
details as I'm not a programmer it is just an idea.   
-- 
Regards
     Stephen Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | Stephen <mcavoysAT@aolDOTcom> wrote:
> On Thu,  3 Apr 2008 02:35:07 EST, "em-sigma" <em-### [at] web de> wrote:
>
> >
> >this might be a trivial subject but I'm not able to figure out how to do it.
>
> You could always send a command to Mega-Pov and read the resulting
> saved image output file, in your program. Please don't ask me the
> details as I'm not a programmer it is just an idea.
> --
>
> Regards
>      Stephen
@Stephen: Thanks for the reply, but next time you should read the first post
completely. You suggest something that I am already doing.
Never mind.
em-sigma Post a reply to this message
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  |