POV-Ray : Newsgroups : povray.animations : Animation of Numerical Simulations : Re: Animation of Numerical Simulations Server Time
19 Apr 2024 02:09:16 EDT (-0400)
  Re: Animation of Numerical Simulations  
From: Sereib
Date: 26 Oct 2012 06:00:01
Message: <web.508a5e261d7520bff52c3ced0@news.povray.org>
Thanks, I will try this!

clipka <ano### [at] anonymousorg> wrote:
> Am 25.10.2012 20:25, schrieb Sereib:
>
> > This would require some kind of global variables which keep their value between
> > two animation steps called by the ini file. Any idea how this could be done?
> > Writing the variables (= e. g. the positions and speed vectors of the star
> > cluster calculated up to now) in a text-file, and importing it in the next
> > animation step?
>
> Yes.
>
> Use #write to write to a text file, and read the data back in the next
> frame using #read.
>
> (Alternatively, some people use #write to generate an .inc file to be
> #included in the next frame.)


Post a reply to this message

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