On Saturday 27 November 2004 09:38, Erik Hofman wrote:

> It's getting busy: 725 Aircraft in one scene!
> How is the performance in those situations?
>
> Erik
>

I've actually had it up to close to 1200 AI aircraft. :-)

It does take a hit on performance. With the traffic manager enabled, Initial 
performance on my system is about 30fps, which dropped to about 13fps once 
more than 1130 AIModels were created. 

It's not likely though that release versions of FlightGear will have to handle 
so much AI traffic in the near future though. The traffic file I used for 
testing is one that I converted from projectAI data, which I can't release 
without their permission and since the main contact email addresses on the 
projectAI website appear to be non-existent I wouldn't even know how to ask 
them for permission. Second, in the current version of the code, *every* 
aircraft that is within 500nm of the user is created as an AIModel. This 
covers a huge area, and can most likely be shrunk considerably. Third, once 
an AIModel is created, it is never released again by the AIManager once it 
flies out of user range again. Modifying the bahavior of the last two points 
is moving up my prioritylist pretty rapidly.

Cheers,
Durk





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

Reply via email to