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

Transparent objects flicker when using scene.pick #5307

Closed
lilleyse opened this issue May 10, 2017 · 7 comments
Closed

Transparent objects flicker when using scene.pick #5307

lilleyse opened this issue May 10, 2017 · 7 comments

Comments

@lilleyse
Copy link
Contributor

When moving the mouse around in an app that uses scene.pick, translucent objects flicker. The gif capture is not best, the flickering is much faster.

flickery

Sample code:

http://cesium-dev.s3-website-us-east-1.amazonaws.com/cesium/master/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=eaae1407cd39601a2c3ba62b30f00a1f

@emackey
Copy link
Contributor

emackey commented May 11, 2017

This brings back bad memories of #2790. That bug was caused by a stray scissor test preventing the frame from being cleared at the start, causing OIT to blend with the previous animation frame. It was fixed, and I don't know if this new problem is some way related, but the symptom looks suspiciously similar.

@pjcozzi
Copy link
Contributor

pjcozzi commented May 11, 2017

Could someone track down what version/commit this was added? It could be a fix we want soon. I'm surprised it hasn't come up on the forum and in other issues.

kring added a commit to TerriaJS/terriajs that referenced this issue May 12, 2017
Partially to work around
CesiumGS/cesium#5307 and
partially because it looks  better.
@mramato
Copy link
Contributor

mramato commented May 26, 2017

This does not happen in 1.32, so it was introduces recently. It's really annoying so I marked this for next release, someone needs to at least triage this.

@mramato
Copy link
Contributor

mramato commented May 26, 2017

I'm also running into cases where picking randomly stops working until the canvas is resized, but that could be an unrelated issue. Unfortunately it's hard to reproduce.

@pjcozzi
Copy link
Contributor

pjcozzi commented May 26, 2017

@emackey do you want to help @klingerj track this down?

@klingerj
Copy link

Git bisect says that the first bad commit is: a9a275f

@bagnell
Copy link
Contributor

bagnell commented May 26, 2017

Thanks for finding the commit @klingerj. I have a fix for this. I'll open a PR soon.

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

No branches or pull requests

6 participants