Actually the idea is to call the advance_time method of non visible objects only once with proportion = 1 (just before calling end_round) instead of calling it several times. For visible objects it is necessary to call advance_time several times between begin_round and end_round to make the animation smooth, but it's (I think) useless for non visible objects.
I've just tested this idea once, I havn't benchmarked it yet. But I believe it can be a good optimisation. Am I an optimisation extremist ? Souvarine. Greg Ewing wrote: > Souvarine wrote: > >> Bodys that are not visible are >> not rendered and advance_time method of non visible bodys is not called. >> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Hey, whoah, that last bit sounds wrong. Positions etc. > of animated object still need to be updated even if you > can't see them, don't they? > > -- > Greg > > _______________________________________________ > Soya-user mailing list > Soya-user@gna.org > https://mail.gna.org/listinfo/soya-user > > _______________________________________________ Soya-user mailing list Soya-user@gna.org https://mail.gna.org/listinfo/soya-user