1. sayfa (Toplam 1 sayfa)
Nate
7 years ago
-
Nate - Mesajlar: 11809
tdawson
This is good information on Performance metrics. Thanks!
7 years ago
- tdawson
- Mesajlar: 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
We recently had to scale down a lot of our atlas' as we where unaware how much space they where taking up
7 years ago
-
BinaryCats - Mesajlar: 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.
7 years ago
-
Nate - Mesajlar: 11809
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.
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.
7 years ago
-
BinaryCats - Mesajlar: 1299
Mark topic unread
• 1. sayfa (Toplam 1 sayfa)
Dön Editor
- Tüm zamanlar UTC