-
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
Fix for Point Cloud show style #5598
Comments
Setting For clarity sake I would be ok with changing it to Semi related post here: https://stackoverflow.com/a/33970293 |
Thank you for your response! |
Ok that's interesting, I don't see that but it is worth the fix. Do you also see a stray point when show is false for non point-cloud tilesets? Like for this example: http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=e79e2d6547c4c5a017372e8a91776769 |
Non point-cloud tilesets seem OK. For sand castle the issue reproduced, try inserting |
I've tried a similar setup here and don't see a point: http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=2fdd2a88b3bce29db2f51515c08a5d79 This inconsistency is probably explained by hardware or driver differences. |
In the last example the point is very distinct for me. |
Fixed in #5599 |
In PointCloud3DTileContent.js, in line executing when a "show" style parameter is defined to hide points with show == false, there might be incorrect nullification of gl_Position, which in fact does not remove the point. I suggest it was meant to nullify gl_PointSize instead (which effectively hides the point).
Link to the line in code (just change the variable):
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/PointCloud3DTileContent.js#L1025
(actual for commit 337ad9d)
The text was updated successfully, but these errors were encountered: