Game Development Community

what is the maximum pixel size of the texture for dts model in TGEA?

by Ji Xinyu · in Torque 3D Professional · 06/13/2013 (6:35 am) · 5 replies

Hi,who can give me some pointing?what is the maximum pixel size of the texture for dts model in TGEA?In addition,I have a dts model and it's texture pixel size is 2048*2048,if I divide the texture into four smaller textures which pixel size is 1024*1024.Is there different effects in TGEA?Thanks very much.

#1
06/13/2013 (9:39 am)
I cannot give you an absolute answer, but I do know that max texture size will depend on whatever graphics card is being used (newer cards can handle 8048.. older cards maybe only 1024 or less)

I don't know if TGEA has a hard-coded limit...

IMHO.. keep max texture res to 2048 if you want your game to be playable on all cards up to 4-6 years old .. NOTE: this is an estimate ! )

HTH

Hewster
#2
06/13/2013 (10:04 am)
Hewster is right as that the limit should be on the video card side or graphics API, not necessarily Torque its self. Although Torque will probably enforce the limit of whatever the graphics API that it uses to determine the maximum texture dimensions that are allowed.

My old PNY GeForce 8600 GTS video card made back in early 2007 supported textures up to 4096x4096, but it only had 256MB of video RAM. So you could only use so many of those textures before a performance hit of the textures being swapped back and forth between system memory and VRAM. As a RGBA8888 (4 bytes per pixel) 4096x4096 texture is 64 MBytes in size. While using lossy compressed textures like DXT5 would in theory cut that texture down to around 16 MBytes in size instead.

When it comes to textures its best to not try to split them up and use multiple of them to texture a model as you're suggesting Ji as that will incur additional state changes and draw calls reducing performance compared to just have used the original, larger, texture. 2048x2048 is acceptable for such older cards that I mentioned above.
#3
06/13/2013 (12:34 pm)
Also just as a slight off-topic request, Ji.. Could you maybe start putting these questions in the beginner section? You keep coming up with a lot of basic starter-type questions that would be best suited there.

Also maybe hold off on making a new thread for each one. Think of a bunch and put them in one thread. Otherwise you're really just knocking down other threads by making new ones all the time.
#4
06/14/2013 (7:41 am)
Xinyu, sorry to be frank, but TGEA is a kind of 'phased-out'. It would be wise to switch over to a later engine; the current one is T3D 3.0 (and now open source), you can download that one for free here.

And I agree with Jacob, maybe the beginner section would be more 'suitable' for these kind of questions.
#5
06/15/2013 (2:24 am)
thanks for all reply