-
Notifications
You must be signed in to change notification settings - Fork 33
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
enableClipping
slows down app
#884
Comments
github-project-automation
bot
moved this to Backlog (Not Ready)
in 3DStreet Dev Tracking
Oct 1, 2024
Diego had some good points in #882 (review) that might resolve this |
Re: Diego's comments:
Changes to obb-clipping component (or as new component):
|
closed by #887 887 |
github-project-automation
bot
moved this from For Review
to Done
in 3DStreet Dev Tracking
Oct 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When setting "enableClipping" true on geospatial layers you can notice stuttering or "jumping" in the UI and camera movement when zooming or double-clicking on an object.
The stuttering appears to match the 250s throttled tick in the new obb-clipping component. traversing all the tiles to apply the clipping planes is a super expensive operation. perhaps we could store the previous values and only apply traverse to apply clipping planes if the previous values actually changed?
Also, in addition to monitoring for pose changes on target object, we can monitor for tiles loaded events from 3dtiles runtime object via threejs-loader-tiles library, see: nytimes/three-loader-3dtiles#165 (comment)
The text was updated successfully, but these errors were encountered: