ColladaLoader and progressCallback
问题 What is the correct way of implementing a loading bar in ColladaLoader ? The source code shows that the loader takes three parameters. One which is a progressCallback . progressCallback( { total: length, loaded: request.responseText.length } ); If I call a function for the progressCallback to display the values, The total shows up as null and the loaded goes up to 5,200,000. function(callback){ console.log(callback.loaded + ' / ' + callback.total); } How can I attach some sort of a percentage