Page 1 of 1
Mipmaps question
Posted: Sat Jun 08, 2019 11:17 am
by Deadlock989
Hi, hoping a dev can answer this.
Since 0.17.46 you can now supply item icons with mipmaps.
Does the game generate its own interpolated mipmaps for icons that don't define their own?
Re: Mipmaps question
Posted: Sat Jun 08, 2019 11:21 am
by eradicator
Log of modless install:
Code: Select all
5.011 Generated mipmaps (3) for atlas [9] of size 4096x4096
5.023 Generated mipmaps (3) for atlas [10] of size 4096x208
5.073 Generated mipmaps (3) for atlas [11] of size 4096x2208
5.154 Generated mipmaps (3) for atlas [12] of size 4096x4080
5.229 Generated mipmaps (3) for atlas [13] of size 4096x4064
5.241 Generated mipmaps (3) for atlas [14] of size 4096x496
5.278 Generated mipmaps (3) for atlas [15] of size 4096x1600
5.291 Generated mipmaps (4) for atlas [16] of size 4096x1816
5.313 Generated mipmaps (3) for atlas [23] of size 4096x1328
Re: Mipmaps question
Posted: Sat Jun 08, 2019 11:36 am
by posila
Deadlock989 wrote: Sat Jun 08, 2019 11:17 amDoes the game generate its own interpolated mipmaps for icons that don't define their own?
It does. Currently icons are placed into atlas, when the atlas is completed we generate mipmaps for the entire atlas, and then overwrite mipmaps with supplied data.
Re: Mipmaps question
Posted: Sat Jun 08, 2019 11:39 am
by Deadlock989
posila wrote: Sat Jun 08, 2019 11:36 am
Deadlock989 wrote: Sat Jun 08, 2019 11:17 amDoes the game generate its own interpolated mipmaps for icons that don't define their own?
It does. Currently icons are placed into atlas, when the atlas is completed we generate mipmaps for the entire atlas, and then overwrite mipmaps with supplied data.
Thanks. Linear interpolation?
Re: Mipmaps question
Posted: Sat Jun 08, 2019 11:41 am
by posila
Deadlock989 wrote: Sat Jun 08, 2019 11:39 amThanks. Linear interpolation?
Indeed
Re: Mipmaps question
Posted: Sat Jun 08, 2019 11:41 am
by Deadlock989
posila wrote: Sat Jun 08, 2019 11:41 am
Deadlock989 wrote: Sat Jun 08, 2019 11:39 amThanks. Linear interpolation?
Indeed
Much obliged to you sir