Browse Source

Use boombox as first example.

Don McCurdy 8 years ago
parent
commit
fb46e685fa
1 changed files with 9 additions and 9 deletions
  1. 9 9
      examples/webgl_loader_gltf2.html

+ 9 - 9
examples/webgl_loader_gltf2.html

@@ -415,15 +415,6 @@
 			}
 			}
 
 
 			var sceneList = [
 			var sceneList = [
-				{
-					name : 'Duck', url : './models/gltf/Duck/%s/duck.gltf',
-					cameraPos: new THREE.Vector3(0, 3, 5),
-					addLights:true,
-					addGround:true,
-					shadows:true,
-					// TODO: 'glTF-MaterialsCommon', 'glTF-techniqueWebGL'
-					extensions: ['glTF', 'glTF-Embedded', 'glTF-pbrSpecularGlossiness', 'glTF-Binary']
-				},
 				{
 				{
 					name : 'BoomBox (PBR)', url : './models/gltf/BoomBox/%s/BoomBox.gltf',
 					name : 'BoomBox (PBR)', url : './models/gltf/BoomBox/%s/BoomBox.gltf',
 					cameraPos: new THREE.Vector3(2, 1, 3),
 					cameraPos: new THREE.Vector3(2, 1, 3),
@@ -440,6 +431,15 @@
 					extensions: ['glTF'],
 					extensions: ['glTF'],
 					addEnvMap: true
 					addEnvMap: true
 				},
 				},
+				{
+					name : 'Duck', url : './models/gltf/Duck/%s/duck.gltf',
+					cameraPos: new THREE.Vector3(0, 3, 5),
+					addLights:true,
+					addGround:true,
+					shadows:true,
+					// TODO: 'glTF-MaterialsCommon', 'glTF-techniqueWebGL'
+					extensions: ['glTF', 'glTF-Embedded', 'glTF-pbrSpecularGlossiness', 'glTF-Binary']
+				},
 				{
 				{
 					name : "Monster", url : "./models/gltf/Monster/%s/Monster.gltf",
 					name : "Monster", url : "./models/gltf/Monster/%s/Monster.gltf",
 					cameraPos: new THREE.Vector3(30, 10, 70),
 					cameraPos: new THREE.Vector3(30, 10, 70),