
Description
<p>Original version: <a href="https://mods.vintagestory.at/joyofpainting">https://mods.vintagestory.at/joyofpainting</a> </p> <p> </p> <p>Problem: Every single time you come into a range of a painting, the texture is generated from scratch. This is quite a costly process, especially in large towns where there could be many paintings per chunk. The result of this is that the client will freeze to render this, every time they load this chunk. </p> <p> </p> <p>Solution: Using ObjectCacheUtil to cache the created textures, paying the cost only the first time per user session.</p> <p> </p> <p>Result: it took over 40 ms to render 18 paintings, now it takes under a ms. </p> <p> </p> <p>If <a class="mention username mceNonEditable" href="https://mods.vintagestory.at/show/user/51BC91A889571240C0E3" data-user-hash="51BC91A889571240C0E3">Moby_</a> is willing to implement these tweaks into the main mod, I can take this one down. </p>
Download
No download link is available for this entry right now.
Ratings & reviews
Sign in to leave a rating or comment.

