Page 1 of 1
Grouped textures?
Posted: 14 Sep 2006, 00:44
by Snipawolf
Is it a good idea to have multiple textures for very similar units on one texture?
E: As in a uvmap..
Posted: 14 Sep 2006, 03:22
by Das Bruce
Might save download size but it'll be alot of hassle and no improvement in ingame memory use I think.
Posted: 14 Sep 2006, 03:43
by Dragon45
The smaller file size is negligible. For almost all cases, if you can create a 1-1 ratio between a texture and a quad on the model, do it (this basically holds for all 3DOs ever made).
Posted: 14 Sep 2006, 04:07
by Snipawolf
I use UV maps, So I guess a 1:1 ratio between textures and units would be best
So, overall I guess I'll just make em normally, thanks for the feedback.
Posted: 14 Sep 2006, 04:17
by FLOZi
Das Bruce wrote:Might save download size but it'll be alot of hassle and no improvement in ingame memory use I think.
What leads you to this conclusion?
Surely having one 512 x 512 texture for 5 units uses less memory than one 256 x 256 texture for each of the 5.
Posted: 14 Sep 2006, 04:32
by Das Bruce
FLOZi wrote:Das Bruce wrote:Might save download size but it'll be alot of hassle and no improvement in ingame memory use I think.
What leads you to this conclusion?
Surely having one 512 x 512 texture for 5 units uses less memory than one 256 x 256 texture for each of the 5.
It didn't seem very likely that spring would only load the texture once even though it was seperately referneced in multiple units.
Posted: 14 Sep 2006, 13:55
by Weaver
Das Bruce wrote:It didn't seem very likely that spring would only load the texture once even though it was seperately referneced in multiple units.
That's the real question.
Posted: 14 Sep 2006, 13:57
by Argh
Yup ^
Don't have time to answer it right now, tho, I must sleep.
Posted: 14 Sep 2006, 19:40
by KDR_11k
1x512x512 is less than 5x256x256, yes but it also means less UV space. I do use the same texture for similar units but that's because I use the same model, too and just hide parts depending on what the unit is.
Posted: 14 Sep 2006, 19:46
by Tobi
Spring loads every texture file once, no matter how often it is used.
Posted: 14 Sep 2006, 20:17
by Yeha
Using the same texture for multiple units should be slightly faster since it reduce the number of state changes (both texture1 and texture2 has to be shared by the units for this to be true).
Posted: 14 Sep 2006, 20:50
by FLOZi

Spring '44 leads the way.
Posted: 14 Sep 2006, 21:00
by VonGratz
Its only an idea...Small metalic Logos textures a la TA.
VonGratz

[img]
[img]http://img49.imageshack.us/img49/4798/solgradxrg8.png[/img][/img]