Nate

Аватара пользователя
Nate

Nate
  • Сообщения: 9839

tdawson

This is good information on Performance metrics. Thanks!
tdawson
  • Сообщения: 1

BinaryCats

Would it be possible to show an estimated amount of texture memory? i.e. number of texture atlases it will take*32

We recently had to scale down a lot of our atlas' as we where unaware how much space they where taking up
Аватара пользователя
BinaryCats
  • Сообщения: 1299

Nate

We'd have to pack the images for the numbers to be accurate if whitespace stripping is used. It would be misleading otherwise.
Аватара пользователя
Nate

Nate
  • Сообщения: 9839

BinaryCats

Yeah, I realise this. I was in a rush to write that last post, I did not have much time.

I still think it would be useful, maybe a warning would be needed. Or perhaps calculating the minimum amount of memory would be needed (Texture area * 32) as you already calculate the attachment area. It still wouldn't be accurate but at least the artist(/who ever) has a way of seeing how much memory they are using.
---
Obviously you can not run the texture packer all the time when spine is running, but you could just calculate it anytime a new attachment is added. This too, could lead to performance problems when using spine. (using the script) so maybe a button to calculate it, or a tickbox (off by default) to automatically calculate the amount of memory the textures are using, anytime an attachment is changed.
Аватара пользователя
BinaryCats
  • Сообщения: 1299


Вернуться в Editor