andy
|
Well, each entity, graphics aside, takes up a little over 3k each. 4 billion of those would take up about 12TB, give or take a few thousand gigabytes.
If we assume that every entity has a unique CHR, and that every CHR is a v1 style, 20 frame 16x32 CHR, then we've got 2k per frame, (each pixel is 32 bits, or 4 bytes) for a grand total of 40k per CHR. Let's tack on an extra kilobyte, since there's script data and the like in them as well. So, 4 billion CHRs at 41k apiece makes 840TB.
So, 4 billion entities potentially requires 852TB. Maybe I should upgrade. ;)
Next up: timing!
Looking at Praetor's last profile, (FYI: a profiler outputs data on how much time is spent on individual functions. Very handy, that) the average entity requires about 648 cycles each. My system is 600MHz, so (on my system, at least) every entity requires a microsecond for AI.
4 billion microseconds is about 3000 years, just to calculate 10ms of entity AI.
I'd go into time spent rendering, but I've probably bored you by now. ;D
'Never confuse a single defeat with a final defeat.' -F. Scott Fitzgerald
Posted on 2001-04-21 15:13:26
|