|
|
Hi!
I have used +O- to redirect rendering output to stdout.
The idea was to use web from to choose between rendering parameters,
call CGI action for rendering, and then have PNG immediatelly displayed
as povray would send everything to stdout, and it would go straight to
browser
(in a nph-cgi script).
Alas, I can't seem to be able to suppress renering parameters from being
displayed and they garble PNG which is being rendered to the PNG stream.
Perhaps there is a way to redirect to another descriptor, which povray
would inherit with close-on-exec set to false?
At the moment I don't have an idea how to make povray immediatelly display
image to browser as it is rendered. As present, entire image is being
rendered before user sees even a line of PNG, which may be confusing, and
in a long render user can think the server has blocked and press <CTRL>C.
Anyone has an answer to this?
Regards,
Mirsad
Post a reply to this message
|
|
|
|
Marvin wrote:
> Hi!
>
> I have used +O- to redirect rendering output to stdout.
>
> The idea was to use web from to choose between rendering parameters,
> call CGI action for rendering, and then have PNG immediatelly displayed
> as povray would send everything to stdout, and it would go straight to
> browser
> (in a nph-cgi script).
>
> Alas, I can't seem to be able to suppress renering parameters from being
> displayed and they garble PNG which is being rendered to the PNG stream.
The text output of POV-Ray is printed to stderr so it does not interfere
with the image to stdout in any way.
Christoph
--
POV-Ray tutorials, include files, Landscape of the week:
http://www.imagico.de/ (Last updated 14 Mar. 2006)
MegaPOV with mechanics simulation: http://megapov.inetart.net/
Post a reply to this message
|
|