You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bagnell I know picking translucent geometry was added in #4979 but there doesn't appear to be a way to pick translucent polygons.
Here's a Sandcastle. It logs the name of the polygon clicked to the console. It will always click through all the layers of polygons and pick the bottom most one.
The expected behavior is for Scene.pick to pick the topmost polygon when pickTranslucentDepth is true.
This came up on the forum. The forum post also describes this problem with the built in picker widget (the one that creates the green "focus" box when you click). I'm not sure if that also uses Scene.pick under the hood?
The text was updated successfully, but these errors were encountered:
The expected behavior is for Scene.pick to pick the topmost polygon when pickTranslucentDepth is true.
This was fixed but I just want to note that pickTranslucentDepth only applies when using pickPosition. By default the depth of translucent geometry is not returned; however, pick should always pick translucent geometry.
@bagnell I know picking translucent geometry was added in #4979 but there doesn't appear to be a way to pick translucent polygons.
Here's a Sandcastle. It logs the name of the polygon clicked to the console. It will always click through all the layers of polygons and pick the bottom most one.
The expected behavior is for
Scene.pick
to pick the topmost polygon whenpickTranslucentDepth
is true.This came up on the forum. The forum post also describes this problem with the built in picker widget (the one that creates the green "focus" box when you click). I'm not sure if that also uses Scene.pick under the hood?
The text was updated successfully, but these errors were encountered: