2

I need to do something with OpenGL for a project. I want to make a web app.

Ideas?

Mark Hoff
  • 21
  • 1

4 Answers4

2

Shader Toy by Inigo Quilez works best in Firefox. Shader Toy is an online shader editor. It's using the pretty new WebGL specification to allow you to edit GLSL shaders.

neoneye
  • 50,398
  • 25
  • 166
  • 151
1

Try googling a bit before asking. I found at least one related question right here on SO. That question is specific to C++. Any constraints on the programming language?

Community
  • 1
  • 1
André Caron
  • 44,541
  • 12
  • 67
  • 125
1

As the person who did the research on I can tell you the full picture:

1) WebGl - Very cool open source project works fine but works only on Mozilla with the plugin and it supposed to work on Chrome and Safari as well, but Chrome supposed to be started with special key to enable it.

2) O3D - another Project from Google and was a WebGl child. it works on both 3 browsers with plugins, but is unstable and was recently deprecated by google.

3 )there are also few Open Source projects which are not so stable and don't have a good performance.

What I did, I implemented Active X plugin based on OpenSceneGraph and wrote methods which are available for scripting which controls Open GL scene. You can finds more information about active x here http://www.openscenegraph.org/projects/osg/wiki/Community/WindowingToolkits but this is very complicated approach.

So the bad news are that thee is no good OpenGL web engine which is available for wide use and is multi browser compatible.

BTW, I'm talking serious engines which can support Lights/shadows/Antialising/Viewpoerts and supports millions of polygons.

Hope it helps. Danny.

danny.lesnik
  • 18,479
  • 29
  • 135
  • 200
  • WebGL is not a "open source project. It's a standardized JavaScript OpenGL interface specification for the web. – Axel Gneiting Nov 01 '10 at 16:04
  • O3D the framework is not deprecated; only the O3D plugin is. The O3D framework now runs on top of WebGL. Also, WebGL works fine in the nightly builds of Chrome and Safari; just follow the instructions. – LarsH Nov 02 '10 at 04:53
1

WebGL is pretty much the only game in town when it comes to OpenGL in a browser. I use it in nightly builds of Firefox ("Minefield") and Chrome ("Canary").

Depending on how sophisticated you need to get, you can either write directly for WebGL in javascript, or you can use Google's O3D scene graph framework, or Copperlicht engine, or others. Each of these is built on WebGL.

LarsH
  • 27,481
  • 8
  • 94
  • 152