Is there an easy way to port a C++ OpenGL app to a browser? It's already ported to PC, Mac and iOS. If there is some relatively easy way, would that be portable between computer browsers? I would have to use different binaries for different platforms, of course. I remember hearing something about some sandboxed environment for Chrome some time ago, but that would exclude the other browsers. How did they (id?) do with Quake in the browser?
If you're already targeting ES 2.0 for iOS your shaders should work as-is with WebGL. JavaScript ahoy!
id Software uses a giant plugin for Quake Live.
Try Google's Native Client
or NaCl
, if you want a lazy port.
But if you want to do a real port - refer to those two examples:
If you was asking about QuakeLive - that is a custom plugin, made by Id Software. Similar functionality can be achieved with Flash or Unity plugins.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With