Game Development Community

performance of T3D 1.1 final

by Thomas Bang · in Torque 3D Professional · 10/12/2011 (11:28 pm) · 5 replies

Hi

The mission has the following content: one terrain (2048x2048 world units), a skycube, fog, three animated cloud layers, a player.

T3D 1.1 (Basic Lighting): ~80 FPS at 1680x1050x32 Fullscreen (60 Hz)

TGEA 1.8.2: (Foreward Renderer): ~180 FPS at 1680x1050x32 Fullscreen (60 Hz)



Can someone explain that?


Edit:

1024*768x32 (60 Hz): T3D = 140 FPS, TGEA = 230 FPS

#1
10/13/2011 (2:19 am)
There's more going on under the hood in the main loop that eats performance off the top. Comparing performance in a mostly empty mission doesn't seem particularly useful.
#2
10/13/2011 (2:31 am)
@Gerald: I know that. But i want to know why there is such a difference in the performance.
#3
10/13/2011 (1:05 pm)
That's a pretty open-ended question. The first thing you need to keep in mind is that if you're getting 230fps in TGEA with just a terrain and some clouds, it won't take very much extra processing to reduce that to 140fps. I see almost that much variation in a basic T3D mission between looking straight ahead and looking down. So it's not really "such a difference in the performance", it's a little difference in performance. About 2.7ms per frame difference.

At the higher resolution you're seeing a much greater decrease in performance, about 7ms per frame. So it's likely that a large part of the difference is fill or texture sampling related; pixel shaders, anti-aliasing, other post-processing, maybe higher resolution textures and lightmaps on the terrain. Are you using the same character model with the same textures and shaders? Same terrain textures? Disable the extra features in T3D that aren't in TGEA by default?
#4
10/14/2011 (3:01 am)
I already compared TGEA and T3D with identical settings.
The only difference is the player itself (mesh, textures and applied shaders). But i guess, that it has nothing to do with such a difference in performance.
#5
10/14/2011 (2:10 pm)
I don't think TGEA and T3D 1.1 even have identical settings to set.

In any case, try running metrics(video); in the console and compare those metrics.