You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TrackballControls does not emit the change event on all interactions (such as mouse wheel zoom), which makes it incompatible with on-demand rendering patterns that work with OrbitControls.
This prevents expected render behavior in performance-sensitive applications.
Reproduction steps
Set up a scene using TrackballControls.
Attach a change event listener to trigger rendering.
Interact with the scene using the mouse wheel to zoom.
Description
TrackballControls
does not emit thechange
event on all interactions (such as mouse wheel zoom), which makes it incompatible with on-demand rendering patterns that work withOrbitControls
.This prevents expected render behavior in performance-sensitive applications.
Reproduction steps
TrackballControls
.change
event listener to trigger rendering.change
event is not fired.Code
✅ Works as expected with
OrbitControls
:This correctly triggers re-renders during user interaction.
❌ Broken behavior with TrackballControls:
Steps:
shows
start
, end but no change.Expected:
start
,change
,end
.Live example
null
Screenshots
null
Version
r175
Device
Desktop
Browser
Chrome
OS
Windows
The text was updated successfully, but these errors were encountered: