SmashingMods / SMT-Issues

1 stars 0 forks source link

Add LOD Mod #83

Open JartanFTW opened 2 years ago

JartanFTW commented 2 years ago

Describe your feature request I would like an LOD mod added into SMT. I picked Distant Horizons mostly at random. If someone has a preferable alternative, please share.

What problem does your feature solve? This provides benefits for both low-end and high-end computers alike.

Low-end benefit from a greater viewing range with minimal impact upon performance. On severely inebriated devices, render distance could actually be lowered in favour of using the LOD, as it takes far less power from my playtesting.

High-end benefit from a widely improved view distance. If high-end computers are still having issues with performances as some are, it allows the player to turn down their render distance while leaving better graphical settings enabled, allowing the LOD to carry the slack.

Implementation See mod.

Screenshots

Render Distance 4: 2022-02-27_15 49 04

Render Distance 8: 2022-02-27_15 54 17

Please keep in mind for the above screenshots that the mod only displays explored chunks, so it would actually allow me to view far further than it was, if I only travelled to do so.

JartanFTW commented 2 years ago

Upon spending time playing regularly with Distant Horizons, it became that it causes a memory leak in SMT. The version I am using is Alpha 1.6.2, so I'm sure more work is being done on it. This doesn't remove alternative mods, if anyone has any suggestions.

Timbroglio commented 2 years ago

There actually is a "LOD" mod in place: https://www.curseforge.com/minecraft/mc-mods/farsight With that mod, you just have to load in a chunk once and it keeps the chunk's "visual" data loaded, even when the view distance is quite low. This helps with the fact that we're also using Dynamic View Distance to help with server lag, so when the server gets very busy the view distance sometimes drops to as low as 3, but you'll only notice this effect when charging straight into unexplored chunks.

JartanFTW commented 2 years ago

Interesting! I think it'd be even better if it saves previously loaded chunks around you like Distant Horizons does, else as you said you rarely notice it occurring. Distant Horizons saves it across games, so you can login the next day and you can still see far away. Edit: With this in mind, I still opt for a "LOD" mod change, if we can find a suitable alternative.

Dark-Arcana commented 2 years ago

Hmm. Well if you find something, we can look at it.