-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Toggling Orthorgraphic can break everything #8346
Comments
For me step 3.5 is to right-click and zoom outward. That's when the milk truck becomes visible again and starts to show the problems. This doesn't seem to be a problem when log depth is disabled. |
This was reported on the forum today, although a slightly different issue that I think is related. If you toggle orthographic -> perspective -> back to othrographic, you get this: This almost looks like the camera has zoomed out into space and is rendering the globe incorrectly, but if you use the geocoder to fly anywhere, you'll see the camera actually hadn't moved from its original place, the view gets fixed when the camera starts to fly. |
Thanks for bumping from my forum post, Omar :) Something I can add from my investigations on this: From looking at the code my guess was that it had something to do with the clearing of the frame- or depthbuffer but I didn't manage to extract the correct code for making the point cloud appear again without all of the unnecessary picking ^^ But as I said this seems to not always help, because a colleague of mine managed to let the point cloud disappear again even with the added pick call. And another addition..
So it looks like something got "fixed" in step 2 so that even for consecutive switches to orthographic frustum everything worked again. And sometimes I had no problem at all when switching to orthographic. I think it depended on the camera angle. |
Congratulations on closing the issue! I found these Cesium forum links in the comments above: https://groups.google.com/d/msg/cesium-dev/8KFNqzbSc9I/RGixiWo9AgAJ If this issue affects any of these threads, please post a comment like the following:
|
Posted an update that this issue has been fixed on the forum: https://community.cesium.com/t/switch-to-orthographic-camera-breaks-rendering/9036/2 |
Moving the camera doesn't fix anything at this point. However if you do move the camera between steps 2/3 everything seems to be fine.
@lilleyse any ideas? I don't think this is a showstopper, but seems like something we should fix soonish.
The text was updated successfully, but these errors were encountered: