Skip to content
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 classification on 3D Tiles using ModelExperimental #9994

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

lilleyse
Copy link
Contributor

@lilleyse lilleyse commented Jan 6, 2022

While reviewing #9978 I noticed that classification wasn't working on point clouds when using ModelExperimental, then realized it wasn't working for any 3D Tiles. This sets the correct stencil state so that classification works for any tiles that use ModelExperimental.

Similar code is in PointCloud.js, Cesium3DTileBatchTable and other places.

Before After
before after

Local sandcastle that tests a bunch of different configurations. Also see 3D Tiles Point Cloud Classification.

@lilleyse lilleyse requested a review from ptrgags January 6, 2022 21:32
@cesium-concierge
Copy link

Thanks for the pull request @lilleyse!

  • ✔️ Signed CLA found.
  • ❔ Unit tests were not updated.
    • Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.

Base automatically changed from pnts-loader to main January 6, 2022 21:42
@ptrgags
Copy link
Contributor

ptrgags commented Jan 6, 2022

Looks good, thanks @lilleyse!

@ptrgags ptrgags merged commit 7d7c5d0 into main Jan 6, 2022
@ptrgags ptrgags deleted the model-experimental-classification branch January 6, 2022 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants