threebox icon indicating copy to clipboard operation
threebox copied to clipboard

When I zoom in on the map, the graphics shake

Open qizhaoheng opened this issue 5 years ago • 3 comments

When previewing the line example, when the map zooms to a certain level, the line will shake. How can I solve this problem?

qizhaoheng avatar Jul 28 '20 02:07 qizhaoheng

Hi @WebScholar,
That's because of an issue with the camera depth. I have created a fork from this repo that improves the camera depth among many other new features. image

jscastro76 avatar Jul 28 '20 07:07 jscastro76

@jscastro76 First of all, thank you for your fork. I downloaded and ran your project,the line sample still has shake. I look forward to your reply. image

qizhaoheng avatar Jul 29 '20 06:07 qizhaoheng

Hi @WebScholar, Let me check that example out, as it comes from the original repo. But I can tell you I have real size 3D objects separated by centimeters designing a data center, and their positions are fully stable with no shake at all in any pitch/bearing/zoom combination (indeed I have my mapbox fork tuned with maxZoom = 26, which is 4 zoom units deeper than the original mapbox.

jscastro76 avatar Jul 29 '20 11:07 jscastro76