three.js icon indicating copy to clipboard operation
three.js copied to clipboard

IE11 & Collada Loader

Open jayfield1979 opened this issue 13 years ago • 9 comments

Obviously great news Microsoft have finally supported WebGL in IE11.

I just fired up the Developer Preview and scenes with native Three.js geometry work well but when I tried a scene that featured a model loaded via the collada loader I got the following error:

WEBGL11095: INVALID_OPERATION: clearStencil: Method not currently supported SCRIPT5009: 'XPathResult' is undefinedFile: ColladaLoader.js, Line: 200, Column: 3

Guess you guys haven't started looking at IE11 yet but just thought I'd point this out.

jayfield1979 avatar Sep 03 '13 10:09 jayfield1979

This is not a three.js problem. IE11 is ONLY a preview. When you google this "WEBGL11095"-Error you will find a list with ALL THE STUFF that IE11 preview currently does NOT support. clearStencil is one of the features not supported. Cheers and let's be patient ;)

GuyGood avatar Sep 03 '13 10:09 GuyGood

Yes, I did get ahead of myself there. So I assume the SCRIPT5009: 'XPathResult' is undefinedFile: ColladaLoader.js, Line: 200, Column: 3 is due to the asynchronous call to the loader and when it returns it finds the parent script halted because it accessed an unsupported feature?

jayfield1979 avatar Sep 03 '13 11:09 jayfield1979

Well, i don't know but I like your explanation ;) ^_^ anyway: have you seen this :) Hope they get this fixed soon, looking forward to working WebGL in IE11! http://msdn.microsoft.com/en-us/library/ie/dn358557(v=vs.85).aspx

GuyGood avatar Sep 03 '13 11:09 GuyGood

Me too :)

jayfield1979 avatar Sep 03 '13 11:09 jayfield1979

I have seen that but actually it does raise a point. Look at the way the clearStencil support is worded: "Stencil buffers aren't supported." No 'yet' qualifier as with some of the other currently unsupported features.

Also, is there a way to import collada files without triggering clearStencils? Aren't they something to do with shadows? I'm not using lights or shadows in my scene, I just want the geometry!

jayfield1979 avatar Sep 03 '13 20:09 jayfield1979

I don't think ColladaLoader is triggering clearStencils. The problem must be somewhere else.

mrdoob avatar Sep 04 '13 01:09 mrdoob

Off the top of your head can you think what calls to Three trigger clearStencils? I took the example I gave you (related to r60 and collada loading) down to just a scene with a camera and it still presented that error i.e. no collada at all.

jayfield1979 avatar Sep 05 '13 13:09 jayfield1979

Could you provide a simpler example?

mrdoob avatar Sep 06 '13 01:09 mrdoob

Of course:

http://frontier.lincoln.ac.uk/3d/development/Stage3/Trains/colladaLoaderIssue/index4.html

I still get this:

WEBGL11095: INVALID_OPERATION: clearStencil: Method not currently supported

jayfield1979 avatar Sep 06 '13 06:09 jayfield1979