Is there an easy way to port a C ++ OpenGL application to a browser? It has already been ported to PC, Mac and iOS. If there is a relatively easy way, will it be transferred between computer browsers?
You could try recompiling it into JavaScript, which browsers do. If you do not expect the user to install any browser plug-in, you will not be able to give them your own code. Of course, when in the JavaScript environment, many of the things youโre used to from your own executables don't work. For example, you can no longer access the file system. You must use the DOM storage, cookies, upload / download resources from the server.
source share