|
@@ -128,7 +128,7 @@
|
|
|
|
|
|
scene = new THREE.Scene();
|
|
|
|
|
|
- defaultCamera = new THREE.PerspectiveCamera( 45, container.offsetWidth / container.offsetHeight, 0.1, 1000 );
|
|
|
+ defaultCamera = new THREE.PerspectiveCamera( 45, container.offsetWidth / container.offsetHeight, 0.001, 1000 );
|
|
|
|
|
|
//defaultCamera.up = new THREE.Vector3( 0, 1, 0 );
|
|
|
scene.add( defaultCamera );
|
|
@@ -417,7 +417,7 @@
|
|
|
var sceneList = [
|
|
|
{
|
|
|
name : 'BoomBox (PBR)', url : './models/gltf/BoomBox/%s/BoomBox.gltf',
|
|
|
- cameraPos: new THREE.Vector3(2, 1, 3),
|
|
|
+ cameraPos: new THREE.Vector3(0.02, 0.01, 0.03),
|
|
|
objectRotation: new THREE.Euler(0, Math.PI, 0),
|
|
|
addLights:true,
|
|
|
extensions: ['glTF', 'glTF-pbrSpecularGlossiness', 'glTF-Binary'],
|
|
@@ -425,10 +425,10 @@
|
|
|
},
|
|
|
{
|
|
|
name : 'MetalRoughSpheres (PBR)', url : './models/gltf/MetalRoughSpheres/%s/MetalRoughSpheres.gltf',
|
|
|
- cameraPos: new THREE.Vector3(2, 1, 35),
|
|
|
+ cameraPos: new THREE.Vector3(2, 1, 15),
|
|
|
objectRotation: new THREE.Euler(0, 0, 0),
|
|
|
addLights:true,
|
|
|
- extensions: ['glTF'],
|
|
|
+ extensions: ['glTF', 'glTF-Embedded'],
|
|
|
addEnvMap: true
|
|
|
},
|
|
|
{
|