Added ProgressiveLoaderGeometry

This commit is contained in:
Thomas FORGIONE
2015-06-17 11:09:15 +02:00
parent 17bf548fef
commit d8e5d106d2
4 changed files with 244 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ function init() {
// Load the scene
// loader = new THREE.OBJLoader();
sphereLoader = new ProgressiveLoader('/static/data/spheres/' + params.get.res + '.obj', scene);
sphereLoader = new ProgressiveLoaderGeometry('/static/data/spheres/' + params.get.res + '.obj', scene);
sphereLoader.load();
sphere = sphereLoader.obj;