Files
simgear/simgear
fredb fa7490fb38 Stuart:
> Something has changed in the environment manager which means that clouds
> generateion is now inconsistent. I'm still tracking it down, as my recent
> changes shouldn't have affected this.

Well, the cause was a bug in my code, but it didn't expose itself until we moved
to multiple cameras. The attached patch fixes the problem.

I've also put in a new heuristic to improve the frame-rate. Clouds that are already sorted
are likely to still be sorted in subsequent frames. Therefore I've put in a back-off
mechanism for the bubble-sort pass. This should mean that if you stay completely
stationary, once the clouds become sorted they will eventually only perform a
bubble sort pass every 128 frames.
2008-11-26 07:28:10 +00:00
..
2008-07-28 07:52:13 +00:00
2008-07-28 07:52:13 +00:00
2008-07-28 07:52:13 +00:00
2008-07-28 07:52:13 +00:00
2008-11-26 07:28:10 +00:00
2008-10-23 18:46:55 +00:00
2008-07-28 07:52:13 +00:00
2002-09-14 16:05:58 +00:00
2006-03-08 18:16:08 +00:00
2008-08-31 18:35:02 +00:00
2006-02-18 16:19:54 +00:00