Author Topic: A question about the texture system.  (Read 1419 times)

0 Members and 1 Guest are viewing this topic.

A question about the texture system.
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.
« Last Edit: July 19, 2005, 07:08:56 pm by 1410 »
Si Vis Pacem Para Bellem
         "If you wish for peace, prepare for war."

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
A question about the texture system.
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.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
A question about the texture system.
I sometimes have trouble trying to communicate what I want to say. Anyway, thanks that really helps.
Si Vis Pacem Para Bellem
         "If you wish for peace, prepare for war."

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
A question about the texture system.
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
-C

 

Offline redsniper

  • 211
  • Aim for the Top!
A question about the texture system.
[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]


;)
"Think about nice things not unhappy things.
The future makes happy, if you make it yourself.
No war; think about happy things."   -WouterSmitssm

Hard Light Productions:
"...this conversation is pointlessly confrontational."

  

Offline WMCoolmon

  • Purveyor of space crack
  • 213
A question about the texture system.
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
-C