|
|
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
|
|