From: Tim Nikias v2 0
Subject: Re: Keeping variables through frames.
Date: 9 Feb 2004 14:37:54
Message: <4027e192$1@news.povray.org>
> Is there any way to change a variable in one frame and then use that value> in the next frame?
Unless you use file-IO (writing the variable to disk and loading it for the
next frame), not that I know of.
<shameless plug>
I've written a couple of File-I/O Macros for just that. Just take a look at
the Downloads-Section on my homepage. The link is in my sig.
</shameless plug>
Regards,
Tim
--
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de
From: Dave Sproson
Subject: Re: Keeping variables through frames.
Date: 9 Feb 2004 14:56:31
Message: <4027e5ef@news.povray.org>
"Tim Nikias v2.0" <tim.nikias (@) nolights.de> wrote in message
news:4027e192$1@news.povray.org...
>> Unless you use file-IO (writing the variable to disk and loading it for
the
> next frame), not that I know of.
I'd guessed as much. :o/
> <shameless plug>
Thanks for that, should make life a little easier.
Dave
Well, you could have a variable which is the same for all clock values
within an arbitrary range.
#if (SomeNumber<clock<SomeOtherNumber)
#declare Variable = Something ;
#else
#declare Variable = SomethingElse ;
#end
.... or something like that