-
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
pickPosition picks groundPrimitive BoundingVolume on pickTranslucentDepth #7257
Comments
I think, i found a possible solution for this problem. if picking and renderTranslucentDepthForPick are true, we don't need to render classification passes. For the above sandcastle, the following change fixes the problem, but i am not sure if there are other implications. |
Do you have any thoughts no this problem, should i open a merge request |
@jbo023 that fix works. You should go ahead and open a PR. Though we should also look at the underlying issue. Because of the required |
@jbo023 I incorporated your fix into https://github.com/CesiumGS/cesium/tree/globe-alpha 32e2953 |
Hi,
we have some problems with pickTranslucentDepth and GroundPrimitives. If we call pickPosition and set pickTranslucentDepth to true, pickPosition will pick the BoundingVolume of the GroundPrimitive.
In the Sandcastle, you can reproduce this by left clicking on the polygon and the area around. The logged height should return a value around 100m, but if the boundingvolume of the polygon is hit, the height will get up to 1200m.
Maybe in a pickTranslucent Pickpass the boundingvolume can be skipped ?
Sandcastle example:
The text was updated successfully, but these errors were encountered: