Browse Source

restoring collada example

timk 14 years ago
parent
commit
8a68b94834
2 changed files with 3 additions and 3 deletions
  1. BIN
      examples/models/monster.jpg
  2. 3 3
      examples/webgl_collada.html

BIN
examples/models/monster.jpg


+ 3 - 3
examples/webgl_collada.html

@@ -33,12 +33,12 @@
 			var particleLight, pointLight;
 			var particleLight, pointLight;
 			var dae;
 			var dae;
 			
 			
-			DAE.load('./models/Seymour-tim.dae', colladaReady);
+			DAE.load('./models/monster.dae', colladaReady);
 			
 			
 			function colladaReady(collada) {
 			function colladaReady(collada) {
 				dae = collada.scene;
 				dae = collada.scene;
-				dae.scale.x = dae.scale.y = dae.scale.z = 1;
-				dae.rotation.x = -Math.PI/2;
+				dae.scale.x = dae.scale.y = dae.scale.z = 0.003;
+				//dae.rotation.x = -Math.PI/2;
 				dae.updateMatrix();
 				dae.updateMatrix();
 
 
 				init();
 				init();