GTNewHorizons / Angelica

OptiFine replacement for 1.7.10
Other
254 stars 47 forks source link

HUDCaching slows down TC wand focus/goggles lens selection menus #358

Closed Evan555alpha closed 5 days ago

Evan555alpha commented 7 months ago

Your GTNH Discord Username

Evan555alpha

Mod Version

1.0.0-alpha33

Java Version

Java 8

Graphics Card Vendor

NVidia

Bug Report

Title, pretty much. When HUDCaching is enabled, the funny purple circle that appears when going to select a wand focus / goggles of revealing lens, slows to a relative crawl, as though its speed is tied to its framerate. Not unusable, but very noticeable. Toggling off HUDCaching solves the issue.

Mod List or GTNH Pack Version

GTNH Pack 2.5.1 Hodgepodge 2.4.34 CodeChickenCore/Lib 1.2.0 UniMixins 0.1.16 GTNHLib 0.2.10

Final Checklist

3jlowes commented 4 months ago

Can confirm this is still happening to me on 2.6.1

Caedis commented 4 months ago

as though its speed is tied to its framerate

It actually is after reaching the thaumcraft code

OvermindDL1 commented 4 months ago

It actually is after reaching the thaumcraft code

Indeed it is, and is always why I unlock my framerate when messing with TC, it's... unpleasant otherwise...

(someone really needs to mixin fix that... hodgepodge maybe? Who do we need to ping to get a fix into hodgepodge or whatever? A configurable speed (based on ticks, unbound by fps) would even be far superior, I want to double/triple its speed even when I'm getting 200fps)

Caedis commented 4 months ago

Maybe @Alastors can help :P

3jlowes commented 4 months ago

Indeed it is, and is always why I unlock my framerate when messing with TC

I'm assuming this is implying higher fps = faster menu? I have my framerate unlocked, 200 fps and my focus menu is still slow. (with angelica)

Without Angelica, the menu behaves normally.

OvermindDL1 commented 4 months ago

Angelica caches the rendering calls so it doesn't update as rapidly as it would otherwise, which is much better for rendering performance, but bad when a mod does something stupid like lock functionality to re-render times, lol.

Alastors commented 4 months ago

Maybe @Alastors can help :P

I mean I can look into it, but my knowledge in rendering as a whole is limited

unix-supremacist commented 4 months ago

hud cache probably needs to be updated to have its own framerate setting, and generally other caches improved so the framerate by default can be higher to prevent edge cases like this, but yeah the issue is TC being framerate dependent here instead of animating using deltas

Cleptomania commented 5 days ago

Was this fixed with #562?

OvermindDL1 commented 5 days ago

It's been fixed for me at least in the current GTNH release pack

Cleptomania commented 5 days ago

I'll close this for now then. If it turns out to still be a problem someone can reopen