-
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
Hidden entity remains visible on Linux #8043
Comments
Thanks for the Sandcastle example @mathiasfn . I'm dual booting Windows 10 and Kubuntu, and I can confirm that this only happens on the Linux side. I suspect the problem is different driver implementations, so it's something we're doing in our shaders. The logic to hide points happens in the shader. You can see where this gets initially packed as a shader attribute in PointPrimitiveCollection, and here's where it's used in the shader: What's quite peculiar to me here is that this shader is "hiding" points by multiplying the We can fix this if we multiply the color by the
|
Duplicate of #7557? Only happens for me under Nvidia on linux (my intel card can't reproduce it) @OmarShehata sounds like a good PR to open to get this fixed. |
Sean mentioned that the technique of hiding a point by multiplying Point clouds are hidden in a similar way: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/PointCloud.js#L1177-L1178 I can open a PR for this soon. |
This was fixed in #8054. |
A concise explanation of the problem you're experiencing.
If i 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
A minimal code example. If you've found a bug, this helps us reproduce and repair it.
I've created an example to demonstrate my issue:
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/#c=fVN/a9swEP0qWvZHHHCUpGtguGlYSTMa2m2wZoNBYMi24ojKkpHObrKS776THCdOO2aw0btf792dXDFDKsGfuSHXRPFnMuNWlDn96W1BN/FwphUwobjphuRl37taqQrzCm0FCK0w85A1YwbwxNQHujY6v+WZ4dwGoxEdh2Q89t9hk84VCNhhcs1PPRbcUpamwctKEXwaiuh4ChuHUBCRQ5i3iC2Xj+IPj8hoGJ7siZbaREeFDtHv89s6YL9Svh1UVIuwCSpWjwVL+LxCRXdMpdLZOSxUUcJN4kQE61LVh14joe6G2o1+xpbetSCW34cN/+Or+stdwenD/PPy9+xhMbs/05KwnBtGpdZPNxAcB9Be02ngwTDEvutPz4/4H0WWhim71iYPDvlfGBixvaSL2/nX5WL5q3fVCTsTCzvJp3Vfn0ReaAOkNDKgdAA8LyRDzkFcJk8caGKtY3Oh70FrGeNmW1uJWfKUGV2qNCImi1lweRGS5h3Sj02u3yAuXqgsIpfFtmWOtUm56RuWitK2nftXtMItqE1ecQMiYbLPpMjwDuUixWW+ZeyDLiJyccbauGINoPO2F2kng2ZEk1RURKTXq86rP2XVIYlk1qJnXUp/MVed6WSA8WdpUjPH8w21SrZzIZvR9KE2UkonA4Rvsw4tY3ityXmmd1xkG2iCvbkeCeAlwyRcfoYicAwKUR8vCh06yLYIG2SBFw7iMWXA+rFQjrBissQ/a+MpQuLhjwIj0Nj1LN2TmDNW4FtwdXEAiMb/q+srNPr/Ag
Context. Why do you need to do this? We might know a better way to accomplish your goal.
I need to be able to toggle entities visibility rather than destroying and recreating
The Cesium version you're using, your operating system and browser.
Cesium version: 1.60
Operating system: Ubuntu 18.04.2 LTS
Browser: Google Chrome Version 76.0.3809.87 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: