From: Chris B
Subject: command-line /Render option
Date: 26 Mar 2009 12:42:05
Message: <49cbb05d$1@news.povray.org>
I can call pvengine.exe from a Python script using the +I option to render a
specific scene file. This works on Windows and presumably on Linux and Mac.
But it doesn't work on Windows when POV-Ray is already running and the "keep
single instance" option is set. In this case I need to use the /RENDER
option instead.
So how do I tell that this is the case from within the script?
or am I missing something really obvious here?
Regards,
Chris B.
From: Chris B
Subject: Re: command-line /Render option
Date: 26 Mar 2009 14:52:02
Message: <49cbced2$1@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote in message
news:49cbb05d$1@news.povray.org...
>I can call pvengine.exe from a Python script using the +I option to render >a specific scene file. This works on Windows and presumably on Linux and >Mac. But it doesn't work on Windows when POV-Ray is already running and the >"keep single instance" option is set. In this case I need to use the >/RENDER option instead.>
Actually /RENDER seems to work in both cases on Windows, but the help says
it's Windows only. So I guess I just need to use this always on Windows and
+I for all other platforms. I don't have other platforms to test on, so if
anyone's done this and can confirm or refute my conclusion that would be
great.
Regards,
Chris B.
Chris B wrote:
> Actually /RENDER seems to work in both cases on Windows, but the help says > it's Windows only. So I guess I just need to use this always on Windows and > +I for all other platforms. I don't have other platforms to test on, so if > anyone's done this and can confirm or refute my conclusion that would be
/RENDER is special because it has the ability to send a message to an existing
instance of POVWIN and ask it to start a new render. This is platform-specific
functionality not implied in the +I switch.
-- Chris