POV-Ray : Newsgroups : povray.general : help!how to render a bunch of pov files from Command_Line : Re: help!how to render a bunch of pov files from Command_Line Server Time
1 Aug 2024 10:18:18 EDT (-0400)
  Re: help!how to render a bunch of pov files from Command_Line  
From: Christoph Hormann
Date: 2 Dec 2005 04:13:38
Message: <dmp3a4$j7g$1@chho.imagico.de>
bil### [at] 21cncom wrote:
> I want to render a bunch of pov files from the command line under linux
> enviorment to make a animation.attached below is my command:
> -------------------------------------------------------------------------
> povray +I/home/jwlee/workFolder/dstPov/*.pov
> +O/home/jwlee/workFolder/dstPng/*.png  +FT +W160 +H200
> ------------------------------------------------------------------------
> but it is reported,Possible Scene File Parser Initialization Error: Could
> not find file '/home/jwlee/workFolder/dstPov/*.pov',
> so what is the correct syntax?how to render?

1) wrong group
2) this won't work even if POV-Ray supported wildcard arguments (*.png 
do not exist).
3) the way to do this is with a loop:

for FILE in *.pov ; do
   FILE_BASE=`basename $FILE .pov`
   povray -i$FILE -o$FILE_BASE.png
done

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.imagico.de/ (Last updated 31 Oct. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

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