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

Blinking screen in 3D mode #465

Closed
slavas62 opened this issue May 27, 2017 · 10 comments
Closed

Blinking screen in 3D mode #465

slavas62 opened this issue May 27, 2017 · 10 comments

Comments

@slavas62
Copy link

slavas62 commented May 27, 2017

In the latest version 1.27 in 3D mode, changing the coordinates of the point vector object (feature.getGeometry().setCoordinates([...]) or layer.getSource().addFeature(feature)) causes the entire screen to blink. How it can be fixed.
In 2D mode all ok.

Thanks in advance.

@slavas62 slavas62 changed the title Blinking screen in 3 mode Blinking screen in 3D mode May 27, 2017
@gberaudo
Copy link
Member

Thanks for reporting this @slavas62. Is it also blinking in 1.26?
The only changes from OL-Cesium 1.26 to 1.27 are the update of the dependencies.

@slavas62
Copy link
Author

slavas62 commented May 29, 2017

In version 1.26 all ok.

@slavas62 slavas62 reopened this May 29, 2017
@gberaudo
Copy link
Member

I tested version 1.26 with the vector example. I can see this blinking when clicking the "add/remove one vector layer" and "add/remove one feature" buttons.
It does not blink every time. I will not have time to dig into this, please let me know if you find something.

@slavas62
Copy link
Author

Well, if anything I find a message.

@HeavenlyHost
Copy link

Just to add to this, see referenced issue #477

@mramato
Copy link

mramato commented Jul 20, 2017

FYI, there is a chance this blinking was a Cesium issue which we just fixed in CesiumGS/cesium#5632

It will be part of Cesium 1.36 on August 1st.

@gberaudo
Copy link
Member

Thank you @mramato, I confirm Cesium master fixes the blinking of the OL-Cesium vectors example.

To everyone: next month version of OL-Cesium will be tested against Cesium 1.36. If you need an updated Cesium in the meanwhile you can simply compile it.

@slavas62
Copy link
Author

slavas62 commented Aug 4, 2017 via email

@HeavenlyHost
Copy link

HeavenlyHost commented Aug 7, 2017

Ok, so this issue has been fixed, however the runtime performance is terrible. Run it in 2d mode and everything renders quick and snappy, switch to 3d and everything drops through the floor ???

@gberaudo
Copy link
Member

gberaudo commented Aug 8, 2017

@HeavenlyHost, the solution was to update Cesium: there is no change in OL-Cesium code. You may have find a performance regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants