Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 0angelic0

Pages: [1]
1
Support / Re: Using sprite collection on a big group of assets?
« on: March 04, 2014, 05:43:15 am »
Hello,

Please answer the question that wintermute asked.

1. Do all the atlases on a sprite collection get loaded once you use even 1 sprite from 1 atlas from that collection?

And I also have some questions too.

2. How 2D Toolkit and/or Unity use memory for textures? I'm very confusing now. I have 20 character images that build into a sprite collection and experiment 4 cases: *Noted that my scene without a character use 50MB*
case 1. Uses multiple atlases with max size 1024 this generate 7 atlas images, when one character is display via tk2dSprite the VRAM usage is 77.6MB.
case 2. Uses multiple atlases with max size 2048 this generate 2 atlas images, when one character is display via tk2dSprite the VRAM usage is 89.2MB.
case 3. Uses sprite dicing and max size 2048 this generate 1 atlas image (2D toolkit seems limited to 1 atlas when use sprite dicing), when one character is display via tk2dSprite the VRAM usage is 89.2MB.
case 4. Uses max size 4096 this generate 1 atlas image, when one character is display via tk2dSprite the VRAM usage is 105.6MB.

This seems number of atlas images per a sprite collection doesn't affect the memory use (case 2. and case 3.) and low size atlas with several atlas images is better than high size atlas with just one atlas image.

Am I correct?

Thanks

Pages: [1]