Re: [osg-users] Best practice for getting OpenGL information ( Vendor, driver version etc)

2009-12-24 Thread Andrew Cunningham
Thanks for the pointer to that example, that will work well enough for me 
Andrew

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21867#21867





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Best practice for getting OpenGL information ( Vendor, driver version etc)

2009-12-24 Thread Paul Martz
Be advised that the information you get back from these queries is 
implementation dependent. If you have a system with multiple graphics 
cards, and they are different models or even from different 
manufacturers, you'd need to open a context on each and do multiple 
queries in order to collect a complete set of information.


OK it's a holiday. I'm turning the computer off now...
   -Paul


Andrew Cunningham wrote:

Thanks for the pointer to that example, that will work well enough for me 
Andrew


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Best practice for getting OpenGL information ( Vendor, driver version etc)

2009-12-23 Thread Andrew Cunningham
I wanted to capture/print out the current OpenGL version, vendor information 
and maybe driver version at program startup. The glGetString() functions and 
osg equivalents require an active GL context. Would one create a special 
invisible context just to get this information?. 
Seems like this should be quite straightforward but forum/example searching 
didn't seem to turn anything up for me...

Thanks
Andrew

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21838#21838





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Best practice for getting OpenGL information ( Vendor, driver version etc)

2009-12-23 Thread Martin Beckett
You need a glcontext to query the openGL - because it's possible that some 
supported features might depend on the configuration at runtime.

I couldn't find an OSG specific exampel , but this might help 
http://stackoverflow.com/questions/126028/how-to-write-an-installer-that-checks-for-opengl-support

Martin

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21840#21840





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org