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

Polygon + property callback = dramatic performance drop #10946

Closed
azurre opened this issue Dec 8, 2022 · 1 comment
Closed

Polygon + property callback = dramatic performance drop #10946

azurre opened this issue Dec 8, 2022 · 1 comment

Comments

@azurre
Copy link

azurre commented Dec 8, 2022

Hello,
Using property callback for the polygon hierarchy cause the dramatic performance drop

Sandcastle example: Sandcastle

Browser: Chrome 108.0.5359.95

Operating System: Windows 10

@ggetz
Copy link
Contributor

ggetz commented Dec 8, 2022

Thanks for the report @azurre!

I think the reason you're seeing such a performance drop with the dynamic positions are slow is because rendering a large polygon like this on the globe requires curving it along the surface. The geometry is being recreated every frame. The solution to this would be using dynamic buffers.

I'll close this issue in favor of #932, but note this specific report there.

@ggetz ggetz closed this as completed Dec 8, 2022
@ggetz ggetz mentioned this issue Dec 8, 2022
2 tasks
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

No branches or pull requests

2 participants