Nate

Hình đại diện của thành viên
Nate

Nate
  • Bài viết: 10750

tdawson

This is good information on Performance metrics. Thanks!
tdawson
  • Bài viết: 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
Hình đại diện của thành viên
BinaryCats
  • Bài viết: 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.
Hình đại diện của thành viên
Nate

Nate
  • Bài viết: 10750

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.
Hình đại diện của thành viên
BinaryCats
  • Bài viết: 1299


Quay về Editor