David Megginson wrote: > Curtis L. Olson writes: > > > Just as a random stab in the dark I commented out ... > > > > globals->get_ATC_mgr()->update(delta_time_sec); > > > > ... from the main loop and my frame rate at least doubled ... ?!? > > If we take the ATC manager out of globals and add it to the main > subsystem manager (instead of updating manually), we can set it up to > update, say, every 2 seconds instead of every frame. >
One of the jobs of the ATC manager is to spread the ATC load by only updating a maximum of one ATC station each frame, and it is assumed that the manager itself will run at full simulation fidelity. Updating only once every 2 seconds would mean a noticable lag between selecting a frequency and sound being rendered (assuming a continuous transmission frequency like ATIS here) since the ATC manager also handles frequency search. It's better that I fix the problem - although I'm quite happy for it to be disabled by default like the AI manager until it's sorted. Cheers - Dave _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
