[Bug Report] Zoom bug, zoom travels through porous 3D models

Hello,

This is a weird bug that is difficult to describe with words, so I have created a video that shows how to reproduce the bug.

Basically, when zooming in on an entity, if the model is not blocking the camera, it will zoom through the entity. If you keep zooming, it will do a weird loop back around and come back 180º from the opposite side… And the bug only happens when the earth is in the background, if the sky is in the background it doesn’t happen. The current behavior when the sky is in the background is what I would expect to also happen when the earth is in the background. When it is a solid model like the drone it works fine because there’s no space for the camera to slip through.

I was able to reproduce it with the ParcLedMine model. I am using a different model for my application, but the issue is the same, and I am unable to zoom all the way into my model properly. Here is the sandcastle I am using to reproduce the bug in the video.

3 Likes

I think I may see the problem in the source code

The distanceMeasure is measured from the earth when tracking an object and the earth is in the center of the green square, when perhaps it should still be the distance of the entity being tracked.