Author Topic: Which of these two is better fro ma performace standpoint?  (Read 1469 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Which of these two is better fro ma performace standpoint?
a) lots of really small textures (biggest one is 180x180, but the dimensions varry - like 160x160 or 64x64 )

b) one larger textures that incorporates these smaller ones in it (liek 256x256 or even bigger)

I'm asking becouse I though that insted of using a dozen small textures for turrets, I can just make one what will be used on a dozen different turrets models..
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: Which of these two is better fro ma performace standpoint?
For HTL, one large one.

 

Offline Flipside

  • əp!sd!l£
  • 212
Re: Which of these two is better fro ma performace standpoint?
Well, at the moment, because of the way subsystems are rendered, it's all much of a muchness from what I understand, there's little difference in performance, however, in the future, it will be best to use one larger texture.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Which of these two is better fro ma performace standpoint?
As Flipside said, it's not going to help performance much at the moment.  That will change though with future code upgrades.  The main benefit now is to reduced memory usage on the video card and helping to reduce texture swaps.  Eventually the code should be able to organize rendering better to reduce state/texture changes, and that's where the big benefit will come in with you using the larger and fewer textures.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Which of these two is better fro ma performace standpoint?
b, hands down. a is how they did things in pre-htl engines.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Which of these two is better fro ma performace standpoint?
Thanks you very much :nod:

Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!