DarkPlaces: handling massive entities
DarkPlaces: handling massive entities
How well can DarkPlaces handle a large amount of entities in a map? I've been curious if anyone run tests like this... 3000~5000 entities in a map, does it handle well?
Re: DarkPlaces: handling massive entities
like the 10k knights mod?
most engines can go up to 32k or so nowadays it seems.
just make sure your ai code isn't doing tracelines etc for every single one every frame.
and that they're not all visible all at once. that sort of thing hurts a bit too.
most engines can go up to 32k or so nowadays it seems.
just make sure your ai code isn't doing tracelines etc for every single one every frame.
and that they're not all visible all at once. that sort of thing hurts a bit too.
-
- Posts: 2126
- Joined: Sat Nov 25, 2006 1:49 pm
Re: DarkPlaces: handling massive entities
Unfortunately the traceline stuff is kinda unavoidable, at least with conventional AI.Spike wrote:like the 10k knights mod?
most engines can go up to 32k or so nowadays it seems.
just make sure your ai code isn't doing tracelines etc for every single one every frame.
and that they're not all visible all at once. that sort of thing hurts a bit too.
Some time ago I considered the possibility of implement a cache to traceline queries in order to save CPU cycles in such cases, but this goes beyond my current skills.
I know FrikaC made a cgi-bin version of the quakec interpreter once and wrote part of his website in QuakeC (LordHavoc)