POV-Ray : Newsgroups : povray.windows : Calling POV from a .BAT file? Server Time
23 Nov 2024 15:52:14 EST (-0500)
  Calling POV from a .BAT file? (Message 1 to 3 of 3)  
From: eric degiuli
Subject: Calling POV from a .BAT file?
Date: 23 Oct 2004 13:10:00
Message: <web.417a8f5aaebeae7abece97560@news.povray.org>
I am trying to call POV from a batch file to render my scene with various
parameters.  I had it working in linux with a script, but converting to
windows it doesn't seem to work.  I have:

"C:Program FilesPOV-Ray for Windows v3.6binpvengine" +W1600 +H1000 -P
Declare=KAPPA=4 +05K4.png Declare=SUNANGLEX=5 orthoclouds2.pov

and I have tried various permutations of these parameters, also with the
command "/RENDER" in there.  Every time, POV opens but I get a command line
processing error.  What is the correct way to do this?  (Win XP)

Thanks, Eric


Post a reply to this message

From: Mark Ulrich
Subject: Re: Calling POV from a .BAT file?
Date: 23 Oct 2004 18:40:00
Message: <web.417addb2172b7666ae3eb7de0@news.povray.org>
"eric_degiuli" <eric.degiuli (at NOSPAM ) utoronto.ca> wrote:
> I am trying to call POV from a batch file to render my scene with various
> parameters.  I had it working in linux with a script, but converting to
> windows it doesn't seem to work.  I have:
>
> "C:Program FilesPOV-Ray for Windows v3.6binpvengine" +W1600 +H1000 -P
> Declare=KAPPA=4 +05K4.png Declare=SUNANGLEX=5 orthoclouds2.pov
>
> and I have tried various permutations of these parameters, also with the
> command "/RENDER" in there.  Every time, POV opens but I get a command line
> processing error.  What is the correct way to do this?  (Win XP)
>
> Thanks, Eric

Hi,

in wxBasic, I call it with

c:povray36binpvengine.exe /RENDER terraform.ini  +D +FN +QR +A0.2 +W160
+H120 +Ooutput/out.png  +Ic:_povfront05amyscene.pov

on XP.

Maybe there is a Problem with the spaces in your Pathname?

Mark


Post a reply to this message

From: eric degiuli
Subject: Re: Calling POV from a .BAT file?
Date: 24 Oct 2004 15:15:00
Message: <web.417bfe3d172b7666e5f59c80@news.povray.org>
Thanks!  It looks like I had a '0' instead of a 'O' for my output file.
This works OK:

"C:Program FilesPOV-Ray for Windows v3.6binpvengine" /RENDER
orthoclouds2.pov +W1600 +H1000 -P Declare=KAPPA=4 +O05K4.png
Declare=SUNANGLEX=5

Eric

"Mark Ulrich" <nomail@nomail> wrote:
> Hi,
>
> in wxBasic, I call it with
>
> c:povray36binpvengine.exe /RENDER terraform.ini  +D +FN +QR +A0.2 +W160
> +H120 +Ooutput/out.png  +Ic:_povfront05amyscene.pov
>
> on XP.
>
> Maybe there is a Problem with the spaces in your Pathname?
>
> Mark


Post a reply to this message

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