naver / egjs-view3d

Fast & customizable 3D model viewer for everyone
https://naver.github.io/egjs-view3d
MIT License
192 stars 27 forks source link

Is this gjs-view3d support IE11 ? #59

Open ctxwing opened 1 year ago

ctxwing commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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: