I am experiencing issues with animation and movement in my three.js scene. Regardless of whether I move the camera by a very small amount or animate an object using Tween.js, the animation appears jerky with the object jumping around its axis of movement, indicating a potential rounding error in positioning.
The problem becomes more pronounced when I move far from the scene center (which is at vertex 0,0,0), for instance to vertex 0,8000000,0.
This issue occurs both when moving the camera and when moving objects.
I am utilizing standard example codes and libraries:
<script src="http://threejs.org/examples/../build/three.min.js"></script>
<script src="js/Detector.js"></script>
<script src="js/TrackballControls.js"></script>
<script src="js/stats.js"></script>
<script src="js/tween.min.js"></script>
I can provide a snippet of code here, although I'm unsure which part may be relevant.
View a video demonstration of the issue here:
Video of screen
EDIT:
Attempting to position the object and camera closer to the center (at XYZ:0,0,1000) results in reduced jitter, but the error is still noticeable: Second video available here