meshcat-dev / meshcat

Remotely-controllable 3D viewer, built on top of three.js
MIT License
256 stars 48 forks source link

Camera zoom animation causes flickering when combined with other animations #87

Closed rdeits closed 3 years ago

rdeits commented 3 years ago
animations: [{
            path: "/meshcat/boxes",
            clip: {
                fps: 30,
                name: "default",
                tracks: [{
                    name: ".position",
                    type: "vector3",
                    keys: [{
                        time: 0,
                        value: [0, 1, 0]
                    },{
                        time: 80,
                        value: [0, -1, 0]
                    }]
                }]
            }
        },{
            path: "/Cameras/default/rotated/<object>",
            clip: {
                fps: 30,
                name: "default",
                tracks: [{
                    name: ".zoom",
                    type: "number",
                    keys: [{
                        time: 0,
                        value: 1
                    },{
                        time: 80,
                        value: 0.5
                    }]
                }]
            }
        }],
rdeits commented 3 years ago

This first appeared when updating three.js to 0.129