POV-Ray : Newsgroups : povray.windows : using the file queue from the command line ? : Re: using the file queue from the command line ? Server Time
29 Apr 2024 02:13:24 EDT (-0400)
  Re: using the file queue from the command line ?  
From: Alain
Date: 8 Feb 2010 12:43:51
Message: <4b704d57@news.povray.org>

> Alain<aze### [at] qwertyorg>  wrote:

>>> Hi there,
>>>
>>> I am trying to automate the rendering of several pov files so I made a simple
>>> script that runs all the pov (pvengine.exe...etc) in a for loop.
>>>
>>> However, this doesn't work since the GUI editor always comes up so that I have
>>> to manually close it down before the next one can start. By looking on this
>>> forum and google, there is apparently no way to shut the editor vai the command
>>> line...(is that right?)
>>>
>>> So, the only other way I thought about is to use the file queue in the editor.
>>> Is there a way of using that feature from the command line ?
>>>
>>> Cheers and many thanks in advance !
>>> David
>>>
>>>
>> Why start end exit POV-Ray for each file?
>>
>> You can just launch POV-Ray before you start the loop, then, in the
>> loop, initiate each render.
>>
>> You only have to close POV-Ray once an the end.
>>
>>
>> Alain
>
>
> Yes, what you are saying makes sense... so how would you do that exactly ? How
> would you "initiate each render" in the previously opened instance of povray ?
>
>  From what I gathered, the only executable/command available is pvengine.exe and
> this will start a new instance of povray by default each time it's called...
>
>
>

In POV-Ray Menu|Options. Check "Keep Single Instance"

That way, each new call will reuse the same instance. At the last call, 
you just add the /exit switch. You may also manualy close POV-Ray once 
the batch has finished.


Alain


Post a reply to this message

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