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 1.67 ground polygon regression #8694

Merged
merged 2 commits into from
Mar 19, 2020
Merged

Fix 1.67 ground polygon regression #8694

merged 2 commits into from
Mar 19, 2020

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Mar 19, 2020

The performance improvements #8630 did not take into account the limitation that ground primitives that overlap cannot be batched together.

This change uses the RectangleCollisionChecker already implemented for StaticGroundGeometryMaterialBatch and performs the same check in StaticGroundGeometryColorBatch.

A big thanks to @likangning93 who figured out the root cause of the problem and pointed me to the existing collision checker.

Fixes #8664

The performance improvements #8630 did not take into account the limitation
that ground primitives that overlap cannot be batched together.

This change uses the `RectangleCollisionChecker` already implemented for
`StaticGroundGeometryMaterialBatch` and performs the same check in
`StaticGroundGeometryColorBatch`.
@mramato mramato requested a review from hpinkos March 19, 2020 14:53
@cesium-concierge
Copy link

Thanks for the pull request @mramato!

  • ✔️ Signed CLA found.
  • CHANGES.md was not updated.
    • If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

@hpinkos
Copy link
Contributor

hpinkos commented Mar 19, 2020

Looks good, thanks @mramato

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ground polygon regression in 1.67
3 participants