View Full Version : OpenGL in web

Ehsan Kamrani
04-05-2006, 08:48 AM
How can i show a game in a browser? How can i show an interactive game in web?

Joe the Programmer
04-05-2006, 06:17 PM
I don't know if this is possible, and even if it were, there would be all sorts of setbacks like platform independence issues. I have never seen an OpenGL-based game on the web. However, there might be some special libraries that enable you to do that.

It's probably easier though, to just rewrite the game in flash or whatever.

04-05-2006, 11:51 PM
java applet or active x control

04-06-2006, 03:09 PM
Use Java + JOGL



If your browser supports a suitably up to date JVM (which you can download from SUN) then you should be able to see 3D gears running in OpenGL on this page:


Note that there's no guareantee this will run in all browsers and all platforms, it needs the right browser plugin or support.

The other way is you go with something completely proprietary like shockwave3D but that too requires a plugin, but it's a plugin a lot of people have. It wouldn't be OpenGL you were writing though, although it might be running on OpenGL under the covers.