* Jon Berndt -- Monday 30 May 2005 00:26:
> > Melchior FRANZ wrote:
> > > When you fly over a beacon, the ground cache has to eat all these 
> > > triangles,
> > > which makes the FDM stutter or even hang. 

> Is the "ground cache" for the benefit of the FDM? 

The FDMs are currently the only users of the groundcache, and yes, they
benefit from it. A lot. Per-wheel/contact-point ground awareness hadn't been
done before Mathias implemented the ground cache. And probably it would have
been a big performance problem to constantly do intersection test with the
whole tile. Still, I didn't mean to blame the problems on the FDMs. I just
called it "FDM stuttering" because this is what the user sees (and because
the ground-cache code is in the FDM/ directory :-) But the FDM only stuttered,
because it wasn't called in time, because of unfortunate groundcache/beacon
interaction. And that wasn't really a bug, either.  Neither in the beacon,
nor in the ground cache. Just a detail that had to be tuned for better
performance.   :-)

m.

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to