POV-Ray : Newsgroups : povray.general : How to suppress verbose runtime output when rendering PNG to stdout in CGI? : How to suppress verbose runtime output when rendering PNG to stdout in CGI? Server Time
7 Sep 2024 13:06:21 EDT (-0400)
  How to suppress verbose runtime output when rendering PNG to stdout in CGI?  
From: Marvin
Date: 18 Mar 2006 14:20:01
Message: <web.441c5c467842b027e1743a030@news.povray.org>
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

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