Skip to content

Make Scene.pick work for translucent polygons #7032

Closed
@OmarShehata

Description

@OmarShehata

@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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions