Multiple textures for s3o

Multiple textures for s3o

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Multiple textures for s3o

Post by KDR_11k »

I think s3o REALLY needs the option to use multiple textures for different pieces. Currently if I have a unit textured and in the game and decide I need to put an additional piece on there (because it turns out I need that for an animation I hadn't planned before or somesuch) I need to squeeze that into unused UV space somehow and since a good UV layout doesn't have that I'd need to move some UV chunks around and retexture those parts. It also means I can't easily share parts between different models.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

That would be extremely useful...
Now it doesn't matter much if you got one 512x512 or a 256x256 and a couple of 64x64.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Interesting, as long as it doesn't get in my way, +1

I can't wait for the spring rewrite :P

I wonder whats gunna be added..
Yeha
Posts: 96
Joined: 13 Aug 2004, 19:12

Post by Yeha »

Having textures per object would make the rendering quite a bit slower, its better to just increase your texture size to fit the new object.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

That would mean having a 1024x1024 texture instead of 512x512...? :(
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

That's going to waste a LOT of texture space and I still have to change the UVs so I can't simply append the object to an existing s3o. Most games just accept that tiny bit of performance loss and allow multiple textures since that's very useful in many cases.
User avatar
PauloMorfeo
Posts: 2004
Joined: 15 Dec 2004, 20:53

Post by PauloMorfeo »

Yeha wrote:Having textures per object would make the rendering quite a bit slower, its better to just increase your texture size to fit the new object.
Couldn't a new single object/texture model be assembled at load time (or by moders with some kind of compilation) from the original models? Would that be very hard?
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

What are you talking about KDR?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Das Bruce wrote:What are you talking about KDR?
What are you asking about?
Couldn't a new single object/texture model be assembled at load time (or by moders with some kind of compilation) from the original models? Would that be very hard?
I think it'd be wasteful, multiple textures wouldn't add up to a valid texture size most of the time so you'd have to combine textures for multiple models on one sheet to avoid wasting space and then you're going to run into the maximum texture size.
SpikedHelmet
MC: Legacy & Spring 1944 Developer
Posts: 1948
Joined: 21 Sep 2004, 08:25

Post by SpikedHelmet »

No offense, but your problem can easily be fixed by you being "smarter" when creating uv maps. Rather than bugging the devs to add a useless feature to make your life easier, learn to maximize the efficiency of your maps!

Case in point: For Spring 1944, every side (of the 4) has one single infantry UV map, containing several different types of uniform and weapons, that all infantry (5-10 per side) use. Just use better planning when making UV maps.
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

SpikedHelmet wrote:Case in point: For Spring 1944, every side (of the 4) has one single infantry UV map, containing several different types of uniform and weapons, that all infantry (5-10 per side) use. Just use better planning when making UV maps.
I am doing that too.. 1024x1024 size :P
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

SpikedHelmet wrote:No offense, but your problem can easily be fixed by you being "smarter" when creating uv maps. Rather than bugging the devs to add a useless feature to make your life easier, learn to maximize the efficiency of your maps!

Case in point: For Spring 1944, every side (of the 4) has one single infantry UV map, containing several different types of uniform and weapons, that all infantry (5-10 per side) use. Just use better planning when making UV maps.
I want to add stuff to units that are already done and UVed and I didn't think of that stuff before I made the unit. For your infantry example, what if you wanted to include another 4-5 guns? If your UV map is designed well enough to have no empty spaces you're screwed. You'd need to make a second texture that includes the new guns in the place of some other stuff that won't be used at the same time as these guns. Now take a model where all UVed parts are used at the same time and you want to add a part later on.

Sure, perfect planning can avoid that but it's still stupid and primitive that Spring doesn't allow more thn one texture per unit.
Post Reply

Return to “Feature Requests”