cesium icon indicating copy to clipboard operation
cesium copied to clipboard

Use scene.pick to get GroundPrimitive and return wrong results

Open abcdweiok opened this issue 4 years ago • 7 comments

Sandcastle

2

abcdweiok avatar Aug 24 '21 09:08 abcdweiok

Quick look showed that it works properly if only one row is generated. Adding even one more (i <= 6) results in failure.

GatorScott avatar Aug 24 '21 12:08 GatorScott

Quick look showed that it works properly if only one row is generated. Adding even one more (i <= 6) results in failure.

Yes, Now I get all pickedObjects through scene.drillPick, and then take the last one. I don't know if it's the right thing to do, or if there's a better way.

abcdweiok avatar Aug 25 '21 02:08 abcdweiok

Thanks @abcdweiok - this looks like a bug to me. Also of note, the Sandcastle seems to work properly with regular Primitives, so this looks to be specific to GroundPrimitives only.. we'll look into this as soon as we get a chance.

ebogo1 avatar Aug 26 '21 22:08 ebogo1

For more help: With OrthographicFrustum, we can drillpick successfully.(only when camre.pitch equals to -90 degree).

sandcastle

ZenDay avatar Nov 12 '21 03:11 ZenDay

Also reported in https://github.com/CesiumGS/cesium/issues/10863.

ggetz avatar Oct 19 '22 13:10 ggetz

Hi, do you have a plan to fix the problem? @ggetz

MeanYou avatar Dec 25 '23 10:12 MeanYou

@MeanYou There hasn't been any activity on this item recently.

If you'd like to add more information about your use case, that may help us prioritize.

If you are interesting in contributing, please let us know and we'd be happy to discuss implementation or review a PR.

Thanks!

ggetz avatar Jan 02 '24 21:01 ggetz