Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is webgl - gltf - threejs compatible with capacitorjs? (Android) #5562

Answered by willydavid1
willydavid1 asked this question in Q&A
Discussion options

I am using capacitor with react and nextjs and its compatibility with Android seems to be excellent, the Android studio emulators that I have been testing look good at the UI level, buttons, images, animations, native plugins, etc.

But when I try to render a 3d model with three js, I see a blank screen. On real android phone it looks good.

My question is regarding the compatibility with Android devices, how compatible is it to use capacitor and gltf will I be supporting all mobile devices that use Android or ios?

You must be logged in to vote

The answer is yes. I was researching about webgl compatibility it seems to have very good support https://caniuse.com/?search=webgl

Regarding the blank screen thing when I try to render my 3D model from the android studio emulator. It was my 3D model that was poorly structured I used this gltf validator page https://github.khronos.org/glTF-Validator/

Using another 3D model works fine.

Replies: 2 comments

Comment options

The answer is yes. I was researching about webgl compatibility it seems to have very good support https://caniuse.com/?search=webgl

Regarding the blank screen thing when I try to render my 3D model from the android studio emulator. It was my 3D model that was poorly structured I used this gltf validator page https://github.khronos.org/glTF-Validator/

Using another 3D model works fine.

You must be logged in to vote
0 replies
Answer selected by willydavid1
Comment options

Does anybody have a capacitor app with Three.js, so we can test it on real physical devices, or some documentation about performance with memory and different devices?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /