Repository navigation
Conversation
With Stretched Mode enlarging the interface, item icons are drawn from the items' models at the screen's resolution, instead of stretching the game's 36x32 icons. Experimental, off by default.
…erface shows them
…'s runes natively too
…d of burying them in outline
…con caches only once the scale settles
…e the seeds of a stack
# Conflicts: # src/main/java/rs117/hd/HdPlugin.java # src/main/java/rs117/hd/HdPluginConfig.java
…eir items aren't cut out after a popup draws over them
|
Been running this for a while now and I've yet to come across any issues since the bugs I reported were fixed :) |
|
I think if we do add this (we should as it performs better) we should add some support for loading my custom item rotations and also animation parity from my plugin imo |
rotation maybe a bit much for being built into 117hd but rotation sounds good |
# Conflicts: # src/main/java/rs117/hd/HdPluginConfig.java
…ike when hopping worlds
|
thanks for letting me know its fixed now! |
…just below a scroll view
…kers, under its items
…lose together intact, like in the rune pouch
java_sabY3V4oVt.mp4Noticed dragged items revert to their old low resolution version |
…c scaling leave no see-through corners
…nventory too, before cutting out the items under it
…ce, also where text covers part of them, and keep animated icons from reverting
…s don't count as its stack size
…e next to the dragged item with the same tag
…ts smaller, instead of drawing them all again on every resize
…cut out, like Inventory Grid's slots, so a see-through side panel doesn't show a square around the dragged item
… instead of painting it over, and keep its see-through shadow as the game drew it
|
There are some interesting ideas in this. I'm wondering whether it would be possible to rasterize these HD icons entirely on the GPU instead. I'm thinking something along these lines might work:
Does this sound like something that could work? If so, I think the file cache could be skipped. This should be doable for any other UI element too, and I'd prefer if you could keep everything in one texture unit ideally. Might it also be possible to read the icon's zoom & offset from the cache? E.g. via |
|
i'll look into it |
…ead from the cache, instead of fitting them on the CPU and keeping them on disk, with everything in one texture unit
… keeping the game's blocky one, which showed like an outline under them
…game's stretched ones in the interface, and work out a see-through shadow's colour from the shadow itself when its layer never showed it opaque The stack size's pixels share the slot's cell of what's drawn over the item, so they take no extra texture layers. A see-through shadow is still taken out when a few of its pixels don't fit.
Hey, I checked it out and it works great. The icons are now rasterized on the GPU, only when something changes, and drawn just before the UI. The file cache is gone and everything is in one texture unit. Zoom and offsets are read from the cache with The one thing I did differently is that I don't read a mask back from the GPU. The holes are cut with the game's own icon, which saves a readback. It's only item icons for now, I haven't looked at other UI elements yet. |
…ead of only within its own layer, so a bank item dragged over the tabs isn't left behind their icons

Renders item icons at native resolution, making them look like their ground items. Setting in experimental and off by default.