POV-Ray : Newsgroups : povray.general : command-line /Render option Server Time
30 Jul 2024 12:29:09 EDT (-0400)
  command-line /Render option (Message 1 to 3 of 3)  
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.


Post a reply to this message

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.


Post a reply to this message

From: Chris Cason
Subject: Re: command-line /Render option
Date: 15 Apr 2009 02:05:02
Message: <49e5790e$1@news.povray.org>
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


Post a reply to this message

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