Yes these will work
But you can only do OpenGL calls in a process that has a valid Opengl context in the case of OSG the is the draw thread We do ours in the first call to draw in a draw callback, Search the archives for more info if you require more in-depth answer __________________________________________________________ Gordon Tomlinson <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] IM: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] <http://www.vis-sim.com/> www.vis-sim.com <http://www.gordontomlinson.com/> www.gordontomlinson.com __________________________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Axelrod Sent: Monday, September 22, 2008 6:28 PM To: OpenSceneGraph Users Subject: [osg-users] openGL extensions I would like to detect if the user has the appropriate openGL extensions in order to do shadowing. However, when I do: glGetString(GL_VERSION) glGetString(GL_EXTENSIONS) They return null. How can I get a list of the available extensions? Is there an easy way to get this info from OSG? Also, how do I know which extensions I need for the different shadow techniques? Thanks, -Ben
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

