POV-Ray : Newsgroups : povray.programming : Calling POV from an external program : Re: Calling POV from an external program Server Time
1 Jul 2024 02:25:42 EDT (-0400)
  Re: Calling POV from an external program  
From: hughes, b 
Date: 12 Feb 2003 16:31:22
Message: <3e4abd2a@news.povray.org>
"Nicolas Calimet" <pov### [at] freefr> wrote in message
news:3E4### [at] freefr...
> > If I check just if the file exists, the file could be half done and
> > I don't want to load that.
>
> You could eventually check that size periodically, and display the
> image when the expected filesize is reached (or even does not change
> any longer).
> However I'm sure there are better solutions out there.

There is, and this might not be a question that should be asked here in
povray.programming. It's more of a general question. But I can tell that it
was probably considered to need programming knowledge to do what was asked,
so that's understandable.

By using Post_Scene_Command, from an INI file, you can call a program after
the rendering. See the documentation section 5.2.4 Shell-out to Operating
System. If you use Windows you'll need to UNcheck in the Options menu,
Script I/O Restrictions, the item Disable Starting Other Programs. Only
thing is, it seems the opposite is wanted, calling to POV-Ray from another
program which then displays the image file. Maybe it can be done either way.
I'm just letting you know of the usual tools to work with such things from
withn POV.

This texture display idea might require GUI extensions instead, something I
know nothing about. And having now looked that up in the Doc (section
1.10.10 GUI Extensions Menu) it refers readers to this news group if you
want to discuss such things.
 ;-)


Post a reply to this message

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