POV-Ray : Newsgroups : povray.programming : GUI extension question... Server Time
24 Dec 2024 11:40:59 EST (-0500)
  GUI extension question... (Message 1 to 2 of 2)  
From: Steve G 
Subject: GUI extension question...
Date: 16 Jan 2001 17:07:28
Message: <3a64c620$1@news.povray.org>
I want to write a program that does preview renders using pvengine to
generate the preview images. How do I redirect the render output from povray
to my app?

Or maybe theres some more documentation on the gui extension features?


Post a reply to this message

From: Alexander Enzmann
Subject: Re: GUI extension question...
Date: 30 Jan 2001 09:01:28
Message: <3A76CB0B.10355A80@mitre.org>
The approach I took was to have my program and the GUI-Extension grab a
common block of virtual memory to hold the image bits.  The
GUI-Extension basically kept track of what pixels were being generated
by POV-Ray, wrote them into the common memory, and every once in a while
(timer event) told my application what part of the image was dirty.

If you can wait till the image is done rendering, then you can forgo the
above and just have your application tell POV-Ray what file to dump the
results into, have the GUI-Extension signal when POV-Ray is done.

Xander

"Steve G." wrote:
> 
> I want to write a program that does preview renders using pvengine to
> generate the preview images. How do I redirect the render output from povray
> to my app?
> 
> Or maybe theres some more documentation on the gui extension features?

I don't think there's much documentation - I just worked from what was
there.


Post a reply to this message

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