I'm trying to incorporate an animated gif in three.js. What's the best way to do it?
var materialTextured = new THREE.MeshBasicMaterial( {
map: THREE.ImageUtils.loadTexture('images/pin.gif'),
transparent: true,
side: THREE.DoubleSide
});
var plane = new THREE.Mesh(new THREE.PlaneGeometry(200, 150), materialTextured);
plane.position.x=250;
plane.scale.x = 1;
scene.add(plane);