<div dir="ltr"><div><div>Hi Mateusz,<br><br></div>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.<br><br></div>Robert.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 September 2015 at 16:09, Mateusz Janiak <span dir="ltr"><<a href="mailto:mati_janiak@wp.pl" target="_blank">mati_janiak@wp.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
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).<br>
<br>
Is it possible to achieve with some OSG API or should I call OpenGL directly (some querry about ARB)? Any help would be nice.<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Mateusz<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=65020#65020" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=65020#65020</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br></div>