Skip to content
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

Is this gjs-view3d support IE11 ? #59

Open
ctxwing opened this issue Jan 28, 2023 · 4 comments
Open

Is this gjs-view3d support IE11 ? #59

ctxwing opened this issue Jan 28, 2023 · 4 comments

Comments

@ctxwing
Copy link

ctxwing commented Jan 28, 2023

Description

I am using egjs-view3d [2.9.1]
Is this gjs-view3d support IE11 ?

As for it, in this README of egjs-view3d Github,
Browser Support
View3D is available for the last two major versions of all evergreen desktop and mobile browsers.

but with Edge in IE mode (setting IE11),
I navigated to https://naver.github.io/egjs-view3d/ .
the browser screen (refer the attached), there is white rather than gltf viewer.
2023-01-28_162048

as far as I know, browsers needs webGL support. so I just googled in https://caniuse.com/webgl
then it says: IE11 is supported. (refer attached the other)
2023-01-28_161917

I have to delare to my customer, that whether egjs-view3d support IE11 or not in a day.
so that how to cope with this situation (customer's organization is in the closed network and use Edge but still use IE11)

To make long story short, Is this gjs-view3d support IE11 ? or any other workaround ?

thanks in advance

Steps to check or reproduce

@RudyBlack
Copy link
Contributor

RudyBlack commented Jan 28, 2023

@ctxwing
To my knowledge, the IE11 browser is not Evergreen brower. So, as "View3D is available for the last two major versions of all evergreen desktop and mobile browsers, " it means not including IE11.

@WoodNeck
Copy link
Member

As @RudyBlack explained, View3D doesn't support IE11.
This is mostly due to features that three.js@r134's GLTFLoader uses.
You can try using polyfills for missing features.

Still, even if you successfully support IE11 with polyfills or something, you can't use optimization features for your models that use WASM like KTX2 basisu or Meshopt/Draco,

@ctxwing
Copy link
Author

ctxwing commented Jan 28, 2023

As @RudyBlack explained, View3D doesn't support IE11. This is mostly due to features that three.js@r134's GLTFLoader uses. You can try using polyfills for missing features.

Still, even if you successfully support IE11 with polyfills or something, you can't use optimization features for your models that use WASM like KTX2 basisu or Meshopt/Draco,

Thank you both @RudyBlack , @WoodNeck for the quickest response I've ever seen.^^;
I got understood that
""the egjs-view3d does not support IE11, because IE11 is not Evergreen Browser and becuase of the three.js@r134's Loader issue."

I had not applied WASM features. that is to say, just using glb ( converted by FBX2glTF with option --binary) and no extra features such as Draco compression.

Could I apply missing feature by using polyfill as @WoodNeck recommend ? . I am just novice and do not know how to ...
Supporting IE11 is the one of big issue of my customer's claim.

I gently ask that how to implement polyfill to support IE 11, to make best of egjs-view3d ..

thanks again so much ..

@WoodNeck
Copy link
Member

We can support IE11 by using an older version of three.js, I don't know the exact version that three.js dropped IE11 support, but it's pretty sure that the version we're using(r134) is not supporting IE11.
However, as IE11 is officially dead, we're not planning to add support in the future.
Also, we need more features that the newer three.js provides.

So, here're some approaches that you can try:

  • Add polyfills
    • Load View3D in the IE11, and add polyfills for the missing es6+ features like Promise, etc.
  • Fork View3D and downgrade the three.js version.
  • Convince your client to drop IE11 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants