|
|
>> 1. load position data from the previous frame
>> 2. calculate (and draw) new positions
>> 3. save new positions to file [overwriting what's there]
>
>
> Doesn't this fail kind of irrecoverably if you have to restart the
> animation for some reason? Would it not be better to save each state to
> a different file, so you can pick up in the middle?
Well, yeah, that's doable also...
...as is computing *all* the data for the entire animation during the
parsing of frame 1, and reading it back thereafter. (Not sure if this
would gain you anything - possibly less overhead in parsing input files.)
...or any other combination that takes your fancy. ;-)
Andrew @ home.
Post a reply to this message
|
|