Common texturespace for units?

Common texturespace for units?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
child
Posts: 19
Joined: 14 Feb 2006, 08:22

Common texturespace for units?

Post by child »

http://taspring.clan-sy.com/wiki/Create_units wrote:> Spring only supports a texture space of 2048x2048 pixels, all textures combined. It's best to use base two numbers for texture sizes, and to shoot as small as possible.

...

> No weapon ID conflict, no unit limit, not unit size limit! (But size of all combined texture limit :( )
Hello folks, I just tumbled across this on the wiki. Anyone care to explain why there is a commonly used texturespace for all units in-game? Also anyone knows implementation details(pros&cons) and where exactly to find this in the code? I'd like to get an idea :)

Thx for your time!
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

This limitation does not apply to S3O- S3Os may have single uvmapped textures of 2048/2048... apiece. See my post, below, talking about practical issues of S3O and memory for some more light on these issues.
User avatar
child
Posts: 19
Joined: 14 Feb 2006, 08:22

Post by child »

so this is only a rule for the old 3do format. Thats what I wanted to know. Thx
Post Reply

Return to “Engine”