Alex Rivera | Logout

What is the best approach to use openGL in the web?

Asked 2009-09-03T03:00:35.683
11

I wrote a program in C++/OpenGL (using Dev-C++ compiler) for my calculus 2 class. The teacher liked the program and he requested me to somehow put it online so that instead of downloading the .exe I can just run it on the web browser. Kinda like java applets run on the browser.

The question is:

How if possible, can I display a C++/OpenGL program in a web browser? I am thinking of moving to JOGL which is a java interpretation of OpenGL but I rather stay in C++ since I am more familiar with it.

Also is there any other better and easier 3D web base API that I can consider?

Edit
Report

1 Answer

1

Outside of Java, in-browser OpenGL is really in its infancy. Google's launched a really cool API and plugin for it though. It's called O3D:

http://code.google.com/apis/o3d/

Article about the overall initiative: http://www.macworld.com/article/142079/2009/08/webgl.html

answered 2009-09-03T03:29:20.420

Your Answer