POV-Ray : Newsgroups : povray.general : MegaPOV Output directed to a external program Server Time
31 Jul 2024 00:28:56 EDT (-0400)
  MegaPOV Output directed to a external program (Message 1 to 7 of 7)  
From: em-sigma
Subject: MegaPOV Output directed to a external program
Date: 3 Apr 2008 02:40:01
Message: <web.47f488ab93f6f09e529711690@news.povray.org>
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

From: HENON fabien
Subject: Re: MegaPOV Output directed to a external program
Date: 13 Apr 2008 12:00:01
Message: <web.48022d4b9c80baf553e633570@news.povray.org>
"em-sigma" <em-### [at] webde> 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

From: em-sigma
Subject: Re: MegaPOV Output directed to a external program
Date: 14 Apr 2008 07:10:00
Message: <web.48033a459c80baf5529711690@news.povray.org>
Jan Dvorak <jan### [at] centrumcz> 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

From: Stephen
Subject: Re: MegaPOV Output directed to a external program
Date: 14 Apr 2008 11:03:06
Message: <2es604dif5nr9nvtajjf0c3suq362t688g@4ax.com>
On Thu,  3 Apr 2008 02:35:07 EST, "em-sigma" <em-### [at] webde> 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

From: em-sigma
Subject: Re: MegaPOV Output directed to a external program
Date: 16 Apr 2008 05:20:01
Message: <web.4805c3e39c80baf5529711690@news.povray.org>
Stephen <mcavoysAT@aolDOTcom> wrote:
> On Thu,  3 Apr 2008 02:35:07 EST, "em-sigma" <em-### [at] webde> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.