Working on progressive loader that supports textures and materials

This commit is contained in:
Thomas FORGIONE
2015-06-11 17:22:37 +02:00
parent c8f64b98bd
commit 99019c217f
8 changed files with 429 additions and 92 deletions

View File

@@ -45,7 +45,7 @@ function init() {
// Load the scene
// loader = new THREE.OBJLoader();
sphere = ProgressiveLoader(params.get.res, scene);
sphere = ProgressiveLoader('static/data/spheres/' + params.get.res + '.obj', scene);
plane = new Plane(1000,1000);
plane.translate(0,0,-100);