question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Float-Precision issues on extreme distances from 0,0

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Mark-225commented, 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)

1reaction
Toys0125commented, Apr 19, 2021

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Demystifying Floating Point Precision
1. It may help to separate precision from accuracy, where accuracy refers to the resolution, or distance between one representable number and ...
Read more >
Any solution to floating point precision issues when working ...
I have a need to have a camera located at an extreme distance, and allow the user to zoom in by correctly setting...
Read more >
numeric precision - Solutions for floating point rounding errors
Any larger than this and the distance between floating point numbers is greater than 0.0005. I cannot really give a better answer than...
Read more >
Is floating point math broken? - Stack Overflow
In the IEEE-754 standard, hardware designers are allowed any value of error/epsilon as long as it's less than one half of one unit...
Read more >
Floating Origin: Solve Long Distance Glitches (Unity3D Tutorial)
In this Unity endless runner tutorial we look at how to solve long distance flickering, glitching or vertex instability and rendering issues ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found