Hi Michael, Don't worry about the OpenGL version, the OSG by default will detect what is available at runtime and use whatever features are available. The only time you need to play with the OSG_GL*_AVAILABLE settings is if you are compiling against a very specific OpenGL version and don't wan't more advanced or old features available.
As for the Intel graphics hardware, I haven't used the 4000 so can't specifically on this. Historically the Intel drivers have been rather flaky and inconsistent w.r.t performance. It could be that a particular OpenGL feature is running very slow due to driver/hardware limitations. It could be OpenGL display lists, or something else similar that is tripping up the driver. General AMD/ATI and NVidia drivers are far more well rounded than Intel drivers so don't typically see unexpected performance drops or bugs. Robert. On 5 February 2013 18:20, Michael Schanne <[email protected]> wrote: > Hi, > > Does anyone have experience with using OSG on the Intel HD Graphics 4000 > hardware? I am having performance problems in my application with fairly > simple scenes. I have several different models which are simple shapes like > boxes, tubes, X's, etc. that are duplicated about 40 times each using > MatrixTransforms. The bottleneck is in the Draw traversal. With this scene > I am seeing a draw time of 55 ms on the HD Graphics, while on another PC with > a Radeon X1550 card the draw time is 3.8 ms. > > I've used OpenGL Extensions Viewer (http://www.realtech-vr.com/glview/) on > both machines and according to that the HD Graphics only supports OpenGL > 3.0/3.1, with no support for earlier versions. My development PC with the > Radeon card supports 1.1-2.1. I'm currently using OSG 3.0.0, with a build > that turned on OSG_GL1_AVAILABLE and OSG_GL2_AVAILABLE, but not > OSG_GL3_AVAILABLE. Is it possible that using only GL3 would give better > performance? > > One other thing I should mention is that I used gDebugger and their Teapot > sample application performs better on the Intel HD Graphics than the Radeon > card, which suggests to me that I'm not using the hardware correctly. > > Using alternate hardware is not an option at this time. > > ... > > Thank you! > > Cheers, > Michael > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=52393#52393 > > > > > > _______________________________________________ > 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

