Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Jonathan_S47 on July 19, 2005, 06:49:08 pm
-
I am working on ways to cut down on the number of textures my models use and have started trying to put the turret models on the same texture. The question I have is will the texture be loaded into memory only once and the turrets use that one or will it be loaded in multiple times for every turret model?
Edited for understanding.
-
the "UV map" won't, because that phrase doesn't make sence.
but the texture will be loaded only once, only once for everything that uses it, multable ships, multable models, doesn't matter, once a texture gets loaded it will never be loaded again.
-
I sometimes have trouble trying to communicate what I want to say. Anyway, thanks that really helps.
-
Still, remember that:
- Fewer textures are better (Two different small textures will take longer to draw than one big texture)
- Powers of 2 for texture sizes are your friend
-
[stupid]What we should do is take every texture in the game and combine them all into one enormous image file, like 1,000,000 x 1,000,000 pixels. Then adjust the UV mapping on every ship so that it matches the appropriate part of our uber-texture. That way there will only be one texture to load for the whole game.[/stupid]
;)
-
To a certain point that might speed things up. Like until the file got large enough that half of it was being paged from VM. :p