POV-Ray : Newsgroups : povray.animations : "static" variable declaration : Re: "static" variable declaration Server Time
28 Jul 2024 08:20:20 EDT (-0400)
  Re: "static" variable declaration  
From: JRG
Date: 9 Dec 2001 07:17:05
Message: <3c135641@news.povray.org>
MegaPov can do that.

"Jochen Issing" <joc### [at] mcf-musicde> ha scritto nel messaggio
news:3c135168@news.povray.org...
> Hi there,
> I am trying to animate water and want to do in an quite
> "natural" way.
> So I need to declare some variables/arrays "global",
> means: declared and initialized in the first
> frame (clock_start). Further it should memorize its value(s),
> that will be recalculated in the next frame, but with
> reminding the old value (calculated in the previous frame)
> and so on until the last frame.
> The only possibility I saw, was to write the values in a
> file at the end of parsing and to read it out again in
> the next frame. But perhaps there is a possibility, to
> do this with a specific declaration, such as "static" in
> the C++-Programming language.
> --
> jochen issing
> mailto:joc### [at] mcf-musicde


Post a reply to this message

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