-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Document for compatibility #12698
Comments
@keqingrong Thanks for your effort! Of course a compatibility overview is a useful thing and might be good orientation especially for beginners. However, i do not vote for an "official" detailed compatibility overview since it is a lot of work to maintain a comprehensive document. Right now, it is already hard for the core contributors to keep the project fairly up to date. I do not like the idea to document even more stuff. Besides, i see some critical statements in your post:
I'm afraid this statement is misleading and produces wrong expectations. From my point of view, IE9 is not supported. Microsoft users should use at least IE11, the better option is Edge.
No sorry, this is not a good choice.
You've missed some JavaScript APIs that are actually used in the core like |
I agree with @Mugen87. However, I would be open to include this if @keqingrong agrees to be the main maintainer of that page. |
Fair enough. @keqingrong What do you think about @mrdoob's suggestions? |
@Mugen87 I am sorry for my late reply and thank you for pointing out the existing problems in my post. It is not sufficiently rigorous and comprehensive, which also reflects that why we need a document or wiki. Personally, I hate outdated browser and don't agree to support them. Unfortunately, in the company, the project I am working on need us to support IE9. We found that with some polyfills three.js can still work fine.😀 @mrdoob Thank you! Frankly speaking, I am bad at English, but I will try my best to refine it. |
Feel free to do a Pull Request then 👌 |
It would be nice to add a document for compatibility.
Here is my notes. I hope this can help somenoe as a reference.
three.js compatibility
Browser Support
three.js supports most modern browsers, including Internet Explorer 9 and above.
three.js provides WebGL, Canvas, SVG and CSS renderers. Different renderers may have different requirements of compatibility. In theory, three.js works on all browsers that support WebGL: Google Chrome 9+, Firefox 4+, Opera 15+, Safari 5.1+, Internet Explorer 11 and Microsoft Edge. More infomation can be found at Can I use WebGL?.
For Internet Explorer, the table below lists avaiable renderers.
If you still need to support IE9, it's a good choice to use CanvasRenderer.
ECMAScript Language Features or Web APIs Used in three.js
Polyfills
Just import polyfills base on your requirements. Again, taking IE9 as an example, the following polyfills are necessary:
Suggested polyfills
The text was updated successfully, but these errors were encountered: