POV-Ray : Newsgroups : povray.unix : Rendering several scenes from c++ program : Re: Rendering several scenes from c++ program Server Time
28 Sep 2024 18:03:02 EDT (-0400)
  Re: Rendering several scenes from c++ program  
From: Cesar
Date: 28 Mar 2005 07:55:00
Message: <web.4247fe4ef6d6dc3ca81ae8950@news.povray.org>
> I had to do the same once. Here is how it works, in my case :
>   _ i create 2 pipes : 1 for povray text output ( to catch error messages,
>   stats etc... ) and 1 for image raw data.
>   _ i launch povray with +GApipe1 +Opipe2 +FP
>   _ i also launch 2 threads to read each pipe
>
> You know render is over when you got all image data, but you have to
> relaunch povray for each image ( you can use the same pipes i think ). I
> guess you can do without threads if you don't need to catch error message,
> cancel render etc... it would be really more simple :)

Tks for answering. I don't get it. What do you mean by 2 pipes? How do I
separate text output from the data (if I understood correctly)? At first I
won't need to catch error msgs, so I can use the "really more simple"
version, but I'm interested in the more complex one too. :o)


Post a reply to this message

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