What web apps can be made (or are made) with OpenGL?
I need to do something with 开发者_StackOverflow社区OpenGL for a project. I want to make a web app.
Ideas?
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.
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?
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.
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.
精彩评论