mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102k stars 35.33k forks source link

WebGL on iOS #1632

Closed harold closed 12 years ago

harold commented 12 years ago

Hello friends.

This article and tangentially related stackoverflow post make it sound as if WebGL on iOS is a possibility. http://atnan.com/blog/2011/11/03/enabling-and-using-webgl-on-ios/ http://stackoverflow.com/questions/6313768/deploy-webgl-applications-as-native-ios-or-android-applications

I understand that no submitted app will be accepted with these hacks in place, but WebGL in Safari on iOS would be valuable to us from a demonstration point of view.

Has anyone tried this (or anything similar) with three.js? What were the results? I understand that the canvas renderer is an option, but a slow one. What information do we have beyond that?

Thanks!

biochem-fan commented 12 years ago

Hello,

I am developing GLmol, a molecular viewer written using THREE.js. http://webglmol.sourceforge.jp/index-en.html

Scientists at Protein Data Bank successfully run it on WebGL-enabled safari on iPad and iPhone. You can watch their video at http://www.youtube.com/watch?v=giB4v0C5WW8 http://www.youtube.com/watch?v=RNbLJM_q1iM

As you can see, it works very smoothly. I strongly hope Apple enables WebGL on iOS!