SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

J

Joy of Painting (Optimized)

SBy SiiMeR

An optimized version of Joy of Painting

Description

<p>Original version: <a href="https://mods.vintagestory.at/joyofpainting">https://mods.vintagestory.at/joyofpainting</a>&nbsp;</p> <p>&nbsp;</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.&nbsp;</p> <p>&nbsp;</p> <p>Solution: Using ObjectCacheUtil to cache the created textures, paying the cost only the first time per user session.</p> <p>&nbsp;</p> <p>Result: it took over 40 ms to render 18 paintings, now it takes under a ms.&nbsp;</p> <p>&nbsp;</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.&nbsp;</p>

Download

No download link is available for this entry right now.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.