|
2 registered members (TipmyPip, 1 invisible),
1,395
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
The myth about entity render speed
#63536
02/10/06 10:01
02/10/06 10:01
|
Joined: Jul 2001
Posts: 6,904
HeelX
OP
Senior Expert
|
OP
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
Ok, I investigated a bit this myth.. well, everybody says that my models render faster if they are assembled, so that I save entity amount. Okay, here I go: I did a pattern based building with no skin attached (just directX material definition). I ran it under 1024x.. resolution, 55800 polygons are rendered in this shot, overall an assembled model of all tiles would have a total polygoncount of ~220000 polygons. This pattern based building renders with ~73 fps on my machine. Specs: 3 Ghz P4, radeon 9800 pro, latest drivers, A6 comm 6.40.2. Windows XP.  Ok, I merged each 4 rows into a MDL and the last row and the roof tiles into a MDL. So... the same building, but built from 3 entities. The same polygoncount here, but a rendering speed of 30 FPS (!!!)  Ok, all you magicians out there, all the ones which draw here a long bow, WHAT THE HELL IS THIS? You can download for free my models, they were done just for this stress test in Wings3D, here is the link: download archiveYou have to reassemble it on your own in WED, but that shouldnt be the problem. Please discuss here this phenomenon.... I want to be sure how I merge my models in my levels to increase performance instead of decreasing it - that would be a nightmare. Ciao Christian
Last edited by HeelX; 02/10/06 10:06.
|
|
|
Re: The myth about entity render speed
[Re: HeelX]
#63537
02/10/06 10:37
02/10/06 10:37
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
That is weird. Oh, and look at your second screenshot. You're getting -16714 kilopolygons per second (negative - weird!). The file you have doesn't open (an "open with" dialog comes up when double-clicking it).
I suspect that the cause to it is actually the fact that the object has the exact same design and the calculations are quicker to do. Unique entities have their vertices different and duplicates have fewer calculations involved. That is an interesting phenomenon. The fastest kps I've ever had is 4000-something (180 vertices and 5000 polygons - it was an experiment), 1200 for otherwise similar things.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: The myth about entity render speed
[Re: HeelX]
#63539
02/10/06 11:16
02/10/06 11:16
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
RAR - that's why. I can't open these files. I did save it to disk and opened it through Windows Explorer (double-clicking it). I thought it was a ZIP archive, of which I can open. I haven't noticed negative values myself yet, just the usual ones such as the position and viewing angles, but that's it. I haven't messed with the engine that much though, mainly just MED.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
|