I'm attempting to utilize the iewebgl and encountering difficulties while trying to run an example from three.js, specifically the webgl_loader_obj. Upon execution, I am facing the following error:
SCRIPT445: Object doesn't support this action
iewebgl.html, line 134 character 5
This error is pointing to the following line:
// texture
var manager = new THREE.LoadingManager(); <!-- here -->
manager.onProgress = function ( item, loaded, total ) {
console.log( item, loaded, total );
};
I also attempted to comment out the texture and model sections and loading the object without the manager, but encountered a different error:
SCRIPT445: Object doesn't support this action
OBJLoader.js, line 19 character 3
This error points to the following line:
THREE.OBJLoader.prototype = {
constructor: THREE.OBJLoader,
load: function ( url, onLoad, onProgress, onError ) {
var scope = this;
var loader = new THREE.XHRLoader( scope.manager ); <!-- here-- >
loader.setCrossOrigin( this.crossOrigin );
I attempted both creating canvas and acquiring WebGL context using JavaScript, as well as creating WebGL context with helper.
I'm utilizing ie 10 with r.46 of three.js. A switch to r.61 of three.js triggers the following exception:
SCRIPT5007: Unable to get property 'getExtension' of undefined or null reference
three.min.js, line 8322 character 2
This corresponds to:
} catch (Zb) {
console.error(Zb)
}
Na = j.getExtension("OES_texture_float"); <!-- here -- >
j.getExtension("OES_texture_float_linear");
va = j.getExtension("OES_standard_derivatives");
Any insights into what might be causing this issue?