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:12:49 EDT (-0400)
  Re: help!how to render a bunch of pov files from Command_Line  
From: billjackson@21cn com
Date: 2 Dec 2005 08:45:00
Message: <web.43904f1471636e9a90bdcc190@news.povray.org>
this is the first time I login in the comunity
thank you very much,Christoph
eckel

Christoph Hormann <chr### [at] gmxde> wrote:
> 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.