Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float-Precision issues on extreme distances from 0,0 #160

Closed
2 tasks done
WenXin20 opened this issue Feb 6, 2021 · 5 comments
Closed
2 tasks done

Float-Precision issues on extreme distances from 0,0 #160

WenXin20 opened this issue Feb 6, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@WenXin20
Copy link

WenXin20 commented Feb 6, 2021

BlueMap Version:
v1.3.1-forge

I am using:

  • mods (on the rendered world)
  • resourcepacks (in bluemaps config/resourcepack folder)

Description:

  • Traveling to extreme distances causes map jerkiness and block disconnections. (based on chunks maybe?)

Capture

@TBlueF TBlueF added the bug Something isn't working label Feb 6, 2021
@Toys0125
Copy link

Toys0125 commented Feb 16, 2021

I also have this issue without any mods and using BlueMap Verison 1.3.1-spigot
chrome_2021-02-16_13-30-40
PM if you want a link

@Mark-225
Copy link
Contributor

Mark-225 commented Mar 6, 2021

Kind of related (and copied from Discord):

Ok so there's two different "symptoms" that start happening at different distances:

  • The tiles start "shaking" slightly when rotating or tilting the camera
    This starts very early at around 100k but only very slightly. At 200k-300k it is easily noticeable especially when zoomed in. At really high coordinates, tiles start flickering randomly.

  • The camera starts "jumping" instead of moving smoothly
    Starts at around 500k and gets really bad at around 1m-2m.

(Tested with Firefox on Bluemap Spigot 1.3.1 with a mod that allows for an infinite repeating hires map)

@DuckyBlender
Copy link

I noticed this too :)

@Toys0125
Copy link

Toys0125 commented Apr 5, 2021

This is just a guess but I believe that the 3D engine for the WebGL is using floating-point so as we go further out the precision worsens. So my opinion is to use a local cord system based on the current position of the camera or find a BigInt implementation for WebGL.

@Toys0125
Copy link

Just wanted to show that it still has a similar issue with 1.4.2 at extreme distance. It no longer keeping the blocks uniform.
chrome_2021-04-19_14-40-20

@TBlueF TBlueF moved this to TODO in TODO / Idea board Aug 10, 2022
@TBlueF TBlueF changed the title Extreme Distances Glitchiness Float-Precision issues on extreme distances from 0,0 Aug 10, 2022
@TBlueF TBlueF closed this as completed in eec491d Oct 14, 2022
@TBlueF TBlueF moved this from TODO to Ready for next release in TODO / Idea board Oct 14, 2022
@TBlueF TBlueF moved this from Ready for next release to Done in TODO / Idea board Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

5 participants