[ Porting my C++ app to run in a browser ]
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?
id Software uses a giant plugin for Quake Live.
Native Client or
NaCl, if you want a lazy port.
But if you want to do a real port - refer to those two examples:
- blog series about porting existing C++ game to html5 (sponsored by Opera)
- short article about porting existing Objective-C game to html5 (sponsored by Microsoft).
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.
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?