Bạn đang xem trang 1 / 1 trang
Nate
6 years ago
-
Nate - Bài viết: 10750
tdawson
This is good information on Performance metrics. Thanks!
6 years ago
- 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
We recently had to scale down a lot of our atlas' as we where unaware how much space they where taking up
6 years ago
-
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.
6 years ago
-
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.
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.
6 years ago
-
BinaryCats - Bài viết: 1299
Mark topic unread
• Bạn đang xem trang 1 / 1 trang
Quay về Editor
- Thời gian được tính theo giờ UTC