|
@@ -163,13 +163,13 @@
|
|
|
|
|
|
zscene.add( zmesh );
|
|
|
|
|
|
- var meshFrame = new THREE.Mesh( geometry, new THREE.MeshBasicMaterial( { color: 0x000000, polygonOffset: true, polygonOffsetFactor: 1, polygonOffsetUnits: 5 } ) );
|
|
|
+ var meshFrame = new THREE.Mesh( geometry, new THREE.MeshBasicMaterial( { color: 0x000000 } ) );
|
|
|
+ meshFrame.position.z = - 10.0;
|
|
|
meshFrame.scale.x = 1.1 * image.width / 100;
|
|
|
meshFrame.scale.y = 1.1 * image.height / 100;
|
|
|
-
|
|
|
zscene.add( meshFrame );
|
|
|
|
|
|
- var meshShadow = new THREE.Mesh( geometry, new THREE.MeshBasicMaterial( { color: 0x000000, opacity: 0.75, transparent: true } ) );
|
|
|
+ var meshShadow = new THREE.Mesh( geometry, new THREE.MeshBasicMaterial( { color: 0x000000, opacity: 0.75, transparent: true } ) );
|
|
|
meshShadow.position.y = - 1.1 * image.height/2;
|
|
|
meshShadow.position.z = - 1.1 * image.height/2;
|
|
|
meshShadow.rotation.x = - Math.PI / 2;
|