ar texture = THREE.ImageUtils.loadTexture('i.jpeg');
//texture.anisotropy = renderer.getMaxAnisotropy();
cube_material = new THREE.MeshBasicMaterial({map: texture});
cube3 = new THREE.Mesh(geometry, cube_material);
cube3.rotation.y = 360 * Math.PI/180;
cube3.position.set(-50* Math.cos(cube3.rotation.y), 0, 50* Math.sin(cube3.rotation.y));
|