POV-Ray : Newsgroups : povray.general : changing output file in script : Re: changing output file in script Server Time
2 Nov 2024 05:19:50 EDT (-0400)
  Re: changing output file in script  
From: Alain
Date: 14 May 2004 06:05:13
Message: <40a499d9$1@news.povray.org>
Christoph Hormann nous apporta ses lumieres ainsi en ce 2004/05/14 
04:07... :

> Sally wrote:
>
>> I dont need to change the clock variable in the .pov file, its changing
>> normally as I want it, but I want the texture to depend on it. I could
>> have a huge "switch" like statement with each filename, but then it
>> doesn't adapt to each file automatically.
>
>
> What does this have to do with changing the *output* file name from 
> within the scene?

If you do an animation, then POV Ray will sequantialy change the image 
file's name by apending a number to the name.

>
>> And I'd prefer not to use batch files but its so far the only solution I
>> have seen (and ty for that solution by the way).
>
>
> As said you can use the internal animation loop but you would need to 
> handle the list of image files you want to read somehow (either via 
> #read function or as an array of strings)
>
> Christoph
>
Or construct the name by concatenation using the clock value.

Alain


Post a reply to this message

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