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

IE angle dependence on area [browser support] #66

Closed
miktoki opened this issue Apr 27, 2016 · 3 comments
Closed

IE angle dependence on area [browser support] #66

miktoki opened this issue Apr 27, 2016 · 3 comments
Milestone

Comments

@miktoki
Copy link

miktoki commented Apr 27, 2016

When several points are close together they become transparent. When viewing an area this becomes especially visible:

noname

Possibly related to #57

@santilland
Copy link
Member

This has to do with the visualization issues i described some time ago. A good description of the issue can be found here CesiumGS/cesium#2885.
The problem is there is a kind of transparency buildup on the outer line of the dots. I used one solution at the beginning where depth was not considered correctly in the shader so there were issues of overlapping points incorrectly but no issues of disappearing points.
Now i found what i think is the best solution here CesiumGS/cesium#3784 which is using the EXT_frag_depth WebGL extension. It works really well and solves all of the previous issues but it seems IE11 just does not support (all) WebGL extensions .... at least it looks like they closed an older ticket related to it with "won't fix" without much explanation so i would not hold my breath (https://connect.microsoft.com/IE/feedback/details/793338/ie11-feature-request-support-for-webgl-extensions).
Conclusion:
Either we go back to the old method which works equally "not so good" on all browsers or
we use the EXT_frag_depth solution which should work on all browsers but not on IE11

@miktoki
Copy link
Author

miktoki commented Apr 28, 2016

What impact do these two methods have on performance, and would it be possible to only use the old method on IE (ie, check if browser has webgl extension, then act based on that)?

@triebnigg triebnigg added this to the V1.0 (LPS16) milestone Apr 28, 2016
@santilland
Copy link
Member

Introduced new check to see if necessary WebGL extension is available if not we now fallback to the "other solution" found where there is no transparency issue but there is an ordering issue. This should only apply to Internet Explorer and Edge browsers. Done in commit 2d7269b
I will close this issue now as i don't see any foreseeable changes in the behavior if IE related to this issue. Maybe cesium will find a better solution for this in future releases and we can look at it then. As always any issue or feedback related to this can be done at any point as comment.

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

3 participants