Page 1 of 1

More plugin texture size

Posted: Tue Sep 12, 2017 12:37
by Lobby
Problems with texture space for your plugins?

With version 342 you will get doubled texture size - that means 2048x2048 pixels - unless you're using a language whose characters use too much space (currently Japanese and Chinese)(448).

:66:
Now, the game allocates more texture space dynamically once the primary texture space fills up. More textures have the disadvantage of possible performance impact, but hey, it's better than not being able to use all of the plugins that you like at the same time :lol:

Right now, the pt console command only shows the last allocated plugin texture.

Re: Doubled plugin texture size

Posted: Tue Sep 12, 2017 12:44
by Brody Craft
*Japanese and Chinese Crying*

Re: Doubled plugin texture size

Posted: Tue Sep 12, 2017 13:50
by Ølsken
Lobby wrote:
Tue Sep 12, 2017 12:37
Problems with texture space for your plugins?

With version 341 you will get doubled texture size - that means 2048x2048 pixels - unless you're using a language whose characters use too much space (currently Japanese and Chinese).
So what's the mechanics behind this

Removing unnecessary fonts?
And that's half of the whole texture space :bb

Re: Doubled plugin texture size

Posted: Tue Sep 12, 2017 14:11
by Lobby
I preserve 1024x4096 pixels just for rendering all characters in all fonts that might be needed. The space actually needed however can differ dramatically. E.g. for English all the characters fit into a 1024x1024 pixel window. So I can use the left space for something else, for plugins for example :)

Re: Doubled plugin texture size

Posted: Tue Sep 12, 2017 14:44
by Josh
Cool! More plugins :)

Re: Doubled plugin texture size

Posted: Tue Sep 12, 2017 15:02
by Bookeric
Brody Craft wrote:
Tue Sep 12, 2017 12:44
*Japanese and Chinese Crying*
*Stare weirdly at East German in 1984*

Re: Doubled plugin texture size

Posted: Wed Sep 13, 2017 22:29
by CommanderABab
Fireout wrote:
Tue Sep 12, 2017 15:02
Brody Craft wrote:
Tue Sep 12, 2017 12:44
*Japanese and Chinese Crying*
*Stare weirdly at East German in 1984*

stare here >>Image

Re: Doubled plugin texture size

Posted: Mon Sep 18, 2017 14:30
by Lobby
world_usage.png
world_usage.png (261.9 KiB) Viewed 2149 times
An illustration about how it works :teach

Re: Doubled plugin texture size

Posted: Mon Sep 18, 2017 14:49
by Brody Craft
Why does it only have ghat much space?

Re: Doubled plugin texture size

Posted: Mon Sep 18, 2017 14:56
by Lobby
Because of the hardware in your phone. This texture is hold in the fast memory of your GPU. To make it bigger isn't supported by many GPUs and to use multiple textures is slower than accessing only one texture (and may not fit into graphic memory).

For some reason phone manufacturers normally don't promote the VRAM of their phones.

Re: Doubled plugin texture size

Posted: Mon Sep 18, 2017 14:57
by Brody Craft
They are money hunters i guess :lol:

Re: Doubled plugin texture size

Posted: Sat Mar 17, 2018 18:35
by Lobby
I rearranged some things. Now the statement holds true for Chinese and Japanese, too.

Re: Doubled plugin texture size

Posted: Fri Jun 07, 2019 10:54
by Lobby
Things have changed a bit :66: