|
@@ -51,7 +51,7 @@
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- camera = new THREE.PerspectiveCamera( 50, window.innerWidth / window.innerHeight, 1, 1000 );
|
|
|
|
|
|
+ camera = new THREE.PerspectiveCamera( 50, window.innerWidth / window.innerHeight, 1, 5000 );
|
|
camera.position.set( 100, 200, 300 );
|
|
camera.position.set( 100, 200, 300 );
|
|
|
|
|
|
scene = new THREE.Scene();
|
|
scene = new THREE.Scene();
|
|
@@ -78,7 +78,7 @@
|
|
const action = mixer.clipAction( object.animations[ 0 ] );
|
|
const action = mixer.clipAction( object.animations[ 0 ] );
|
|
action.play();
|
|
action.play();
|
|
|
|
|
|
- const instanceCount = 50;
|
|
|
|
|
|
+ const instanceCount = 30;
|
|
const dummy = new THREE.Object3D();
|
|
const dummy = new THREE.Object3D();
|
|
|
|
|
|
object.traverse( ( child ) => {
|
|
object.traverse( ( child ) => {
|