Page 1 of 1
Nate
8 years ago
-
Nate - Posts: 12213
tdawson
This is good information on Performance metrics. Thanks!
8 years ago
- tdawson
- Posts: 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
8 years ago
-
BinaryCats - Posts: 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.5 years ago
-
Nate - Posts: 12213
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.5 years ago
-
BinaryCats - Posts: 1299
Mark topic unread
• Page 1 of 1
Return to Editor
- All times are UTC