POV-Ray : Newsgroups : povray.newusers : How to create multiple images in a batch : How to create multiple images in a batch Server Time
29 Jul 2024 14:22:00 EDT (-0400)
  How to create multiple images in a batch  
From: ttread
Date: 10 Sep 2005 03:10:01
Message: <web.4322863eda380feda02959570@news.povray.org>
I want to create multiple images that differ only by one or two variables,
such as the width of one object and the value of a text string.

I was trying to find a way to do this by passing parameters to povray from a
batch file, but couldn't find a way to do it.

The animation feature allows external control of the Clock value, but it's
not suited for the purpose I need.

I thought of using an internal #while loop, but didn't see any way to output
an image file from inside the loop.

Right now the only way I can think of to do it is to write a tool that
creates multiple similar .pov files, one for each image I want to make, and
then run a batch file to invoke povray on all the created files.  Seems
clumsy though.

Any suggestions will be greatly appreciated.  I'm running POV-Ray 3.6 on
Debian Linux 3.1.

-Ted


Post a reply to this message

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