Replies: 1 comment 1 reply
-
When you say "when the center updates" you mean |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
In my project, I’m syncing the
Canvas
position with the map center whenever the center updates. However, with complex scenes (many objects), the updates cause the view to "jump" or behave inconsistently.Has anyone faced this issue? Are there solutions to smooth or optimize the updates to avoid the jumping effect?
Looking forward to your suggestions!
Canvas overlay={false} latitude={viewState.latitude} longitude={viewState.longitude} shadows onCreated={({ gl }) => { gl.setClearColor(0x000000) gl.setClearAlpha(0) gl.autoClear = false gl.shadowMap.enabled = true gl.shadowMap.needsUpdate = true gl.shadowMap.type = THREE.PCFSoftShadowMap }} gl={{ alpha: false, antialias: true }} camera={{ position: [0, 500, 0], far: 5000 }} frameloop='demand' >
And I use
NearCoordinates
to display Object3DScreen.Recording.2024-12-10.at.09.45.23.mov
Beta Was this translation helpful? Give feedback.
All reactions