[osg-users] Verify hardware instancing capabilities

Robert Osfield robert.osfield at gmail.com
Fri Sep 4 08:28:14 PDT 2015


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 <mati_janiak at wp.pl> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150904/21976321/attachment-0003.htm>


More information about the osg-users mailing list