-
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
Fixed Hidden Point Primitive Bug #8054
Fixed Hidden Point Primitive Bug #8054
Conversation
create an entity with point graphics and change its show property to false it doesn't hide, instead, it positions itself in the center of the screen while still being visible. this issue only occurs when I'm in a Ubuntu environment Fixed by changing translucency in addition to point location when showing
Thank you so much for the pull request @ProjectBarks! I noticed this is your first pull request and I wanted to say welcome to the Cesium community! The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.
Reviewers, don't forget to make sure that:
|
Added changes to Changes.MD and added myself to Contributors
Some thoughts:
|
Moved logic for point size to the end as well as changing the size and position in addition to the color Sean suggested this will cause the point to be disgarded before moving on to the fragment shader
Thanks omar! Good suggestions. |
Billboards are similar to points, do they have the same issue? |
I can confirm this is fixed on my machine. Thanks @ProjectBarks this one really annoyed me. @OmarShehata I'll let you handle the rest of this PR, merge when you are ready (or bump to Sean if you need a second opinion). |
There are a bunch of local test failures in this branch. @ProjectBarks you probably aren't aware of this, but travis CI doesn't run the WebGL tests, so you should always run tests locally as well. (Assuming they are failing for everyone and not just me) |
I actually can't reproduce the failures any more, I think I might have been missing that last commit? Either way this is good to go, @OmarShehata feel free to merge if you don't need a second opinion on the shaders. |
@OmarShehata did you need to take another look at this or can we merge? |
Sorry for the delay here. This looks good to me. |
create an entity with point graphics and change its show property to false it doesn't hide, instead, it positions itself in the center of the screen while still being visible.
this issue only occurs when I'm in a Ubuntu environment
Fixed by changing translucency in addition to point location when showing
This is in response to #8043