Porting WebGL game to iPhone's native OpenGL?

Posted by ArtPulse on Stack Overflow See other posts from Stack Overflow or by ArtPulse
Published on 2011-11-25T17:27:05Z Indexed on 2011/11/27 1:50 UTC
Read the original article Hit count: 302

Filed under:
|
|
|
|

We are developing a web game that uses WebGL for the two biggest parts of it. Working with HTML / CSS was too slow and too limited, so it's off the table.

Thing is, iOS does not support WebGL publicly just yet, only on iAd. It is my guess Apple will eventually support it once the security issues they and Microsoft claim it has are fixed, and looks stable enough.

Problem is, if Apple does not do this by the release of the next mayor iOS version, then we will have in our hands a mobile WebGL game that does not run. 6 months of development and testing to waste.

So, questions:

  • If that was the case, how viable (regarding amount of time) is it porting the WebGL part of the game to native iPhone OpenGL? I'm afraid that porting will take longer than the development of the game itself.

  • I saw posts on Stack Overflow (like this) that suggested, on Android, adding the OpenGL interface manually to a WebKit element. It'd be slower than native. But either way... Is this something that could be accepted in the AppStore? Apple is very restrictive with these kind of stuff...

Thank you all for your time!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios