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

@@ -607,7 +607,7 @@ function initMountain(camera, scene, static_path, coins) {
function initSponzaScene(scene, collidableObjects, loader, static_path) {
var loader = new ProgressiveLoader('/static/data/sponza/sponza.obj', scene, function(obj) {
var loader = new ProgressiveLoaderGeometry('/static/data/sponza/sponza.obj', scene, function(obj) {
if (obj.material.name === 'chain' ||
obj.material.name === 'leaf' ||
obj.material.name === 'Material__57') {