View Full Version : Using OpenGL in a browser plug-in
01-15-2010, 04:04 AM
Is this possible? How would the OpenGL context be created in something like an ActiveX control or a Firefox plug-in? Is there any particular reason why it would not be possible to build a browser plug-in that renders using OpenGL?
You might want to have a look at WebGL: http://www.khronos.org/webgl/
01-15-2010, 04:33 AM
That looks very interesting except that Microsoft aren't on board (no surprises there!) so no IE support.
Are there any reasons why OpenGL couldn't be used in my own plug-in?
01-15-2010, 06:22 AM
Well opengl can be used in your own plugin. Quake Live does this AFAIK.
These pages can provide more help :
Maybe it is easier to create a windowless plugin, that create a GL window like a classic GL program.
Off-topic but still interesting, speaking of WebGL these a neat tool to play with GLSL shaders in your browser :
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.