Hi Mateusz, You need a valid graphics context to be able to test whether an extension is supported or not. One easy way to ensure this is to do the test in aRealizeOperation. Have a look at the osgvolume example to see how one tests for graphics capabilities.
Robert. On 4 September 2015 at 16:09, Mateusz Janiak <[email protected]> wrote: > Hi, > I was going through forum but could not find an answer for a simple > question - how to detect if current system/graphic card supports hardware > instancing? I want to know this to provide a proper factory for scene > objects to provide maximum performance (HW if possible, software otherwise). > > Is it possible to achieve with some OSG API or should I call OpenGL > directly (some querry about ARB)? Any help would be nice. > > Thank you! > > Cheers, > Mateusz > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=65020#65020 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

