Grouped textures?

Grouped textures?

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

Post Reply
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Grouped textures?

Post by Snipawolf »

Is it a good idea to have multiple textures for very similar units on one texture?

E: As in a uvmap..
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

Might save download size but it'll be alot of hassle and no improvement in ingame memory use I think.
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post 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).
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post 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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post 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.
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post 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.
User avatar
Weaver
Posts: 644
Joined: 07 Jul 2005, 21:15

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Yup ^

Don't have time to answer it right now, tho, I must sleep.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post 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.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Spring loads every texture file once, no matter how often it is used.
Yeha
Posts: 96
Joined: 13 Aug 2004, 19:12

Post 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).
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Post by FLOZi »

8) Spring '44 leads the way.
User avatar
VonGratz
Posts: 471
Joined: 03 May 2005, 05:25

Post by VonGratz »

Its only an idea...Small metalic Logos textures a la TA.
VonGratz :wink: [img][img]http://img49.imageshack.us/img49/4798/solgradxrg8.png[/img][/img]
Post Reply

Return to “Art & Modelling”