Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualGavin Williams

Posted 17 September 2012 - 09:40 PM

Of course they are a replacement for sprite sheets. For me it was a no-brainer, one minute i was using sprite sheets and the next minute, life was easier. Texture array's remove the problems inherent to sprite-sheets.

You can contrive any number of scenarios that might break a technique / technology. But that doesn't change the fact that by and large, Texture arrays make sprite sheets (in their regular usage scenario) redundant.

And just thinking about animation frames ... you can have any number of animation frames you like for any particular sprite with texture arrays. Using texture arrays doesn't change how you interpret your sprite collection at the higher level or how you are sampling your sprites to form animation.

And in regards to sprites with different resolutions, how many different resolutions are you talking about ? You could only look at sprite sheets as being more appropriate for particular situations. You can store sprites with different resolutions into a texture array, that's no problem, if you're happy with burning some empty memory (I think compression will mitigate that cost), and if there are only a few exceptionally small/large sprites then you can divide them up, and pass them in via another texture slot, maybe on their own or in another array, though i suppose you might want to stick with a single sprite pipeline. Anyway im not arguing that sprite sheets aren't useful in those scenarios, im just not familar with having to do that, and i stand by my point that texture arrays are better than sprite sheets (in most circumstances).

I would concede though that if the OP described how they were going to use the sprites, what sizes etc, then perhaps Hyunkel's points should be considered if appropriate.

#4Gavin Williams

Posted 17 September 2012 - 09:21 PM

Of course they are a replacement for sprite sheets. For me it was a no-brainer, one minute i was using sprite sheets and the next minute, life was easier. Texture array's remove the problems inherent to sprite-sheets.

You can contrive any number of scenarios that might break a technique / technology. But that doesn't change the fact that by and large, Texture arrays make sprite sheets (in their regular usage scenario) redundant.

And just thinking about animation frames ... you can have any number of animation frames you like for any particular sprite with texture arrays. Using texture arrays doesn't change how you interpret your sprite collection at the higher level or how you are sampling your sprites to form animation.

And in regards to sprites with different resolutions, how many different resolutions are you talking about ? You could only look at sprite sheets as being more appropriate for particular situations. You can store sprites with different resolutions into a texture array, that's no problem, if you're happy with burning some empty memory (I think compression will mitigate that cost), and if there are only a few exceptionally small/large sprites then you can divide them up, and pass them in via another texture slot, maybe on their own or in another array, though i suppose you might want to stick with a single sprite pipeline. Anyway im not arguing that sprite sheets aren't useful in those scenarios, im just not familar with having to do that, and i stand by my point that texture arrays are better than sprite sheets (in most circumstances).

#3Gavin Williams

Posted 17 September 2012 - 08:57 PM

Of course they are a replacement for sprite sheets. For me it was a no-brainer, one minute i was using sprite sheets and the next minute, life was easier. Texture array's remove the problems inherent to sprite-sheets.

I don't know what you're referring to by sprites having different resolutions and animation frames. You can contrive any number of scenarios that might break a technique / technology. But that doesn't change the fact that by and large, Texture arrays make sprite sheets (in their regular usage scenario) redundant.

#2Gavin Williams

Posted 17 September 2012 - 08:56 PM

Of course they are a replacement for sprite sheets. For me it was a no-brainer, one minute i was using sprite sheets and the next minute, life was easier. Texture array's remove the problems inherent to sprite-sheets.

I don't know what you're referring to by sprites having different resolutions and animation frames. You can contrive any number of scenarios that might break a technique / technlogoy. But that doesn't change the fact that by and large, Texture arrays make sprite sheets (in their regular usage scenario) redundant.

#1Gavin Williams

Posted 17 September 2012 - 08:46 PM

Of course they are a replacement for sprite sheets.

PARTNERS