Kurosu a écrit :
> Julien PUYDT a écrit :
>> How are animations done? Are the member rotations pre-computed and 
>> stored in a table or are they recomputed each time?
> 
> Recomputed, mostly because the angle can take any value.
> 
>> Recomputing is memory-friendly, storing is cpu-friendly.
> 
> To achieve that, we'd probably need to discretize (or quantize much
> coarsely than a float ;) the angle values. There are probably many other
> things to consider otherwise (OpenMP isn't one, I've tried). I have the
> feeling it is called much too often, when there should be only some
> members modified per frame displayed.

Yes, probably there aren't that many different angles... and in a team, 
all members could share their... uh... members.

Snark

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à