简体   繁体   中英

Running threejs on IE 9 failing because of Float32Array

I'm writing a threejs demo that MUST run on pretty much all browsers - particularly IE down to IE9.

It looks like IE 9 should at least be able to run the Canvas Demos but I'm getting a Float32Array Javascript error.

I'm sure there is a simple answer to this somewhere but my searches have yielded nothing so far.

I should say that I'm a webdev beginner (although experienced programmer) and that I'm running an IE 9 instance on the virtualising service Spoon.net . IE10 works well with threejs through this service.

Thanks in advance

This is quite a late answer. But for reference, inexorabletash provides a polyfill that you can find on github: https://github.com/inexorabletash/polyfill/blob/master/typedarray.js

It adds Float32Array support to IE 9. This way, you won't add WebGL support to IE9, but you will get rid of the Float32Array error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM