Hi Filip, I haven't tried using mesa in this so can't comment speciifcally on this usage. For testing purposes I would recommend trying out the GraphicsWindowEmbedded functionality that workarounds the need for fully funcitoning GraphicsWindow. Have a look at the osgviewerSDL example to see how you can do this.
Robert. On 25 July 2013 12:28, Filip Arlet <[email protected]> wrote: > Hi, > > As fallback for offscreen rendering on computers without GPU I use Mesa3D. > (http://www.mesa3d.org/brianp/sig97/offscrn.htm) chapter 6. > > Everything works great in simple test program, but when I create custom > context subclassing osg::GraphicsContext and write methods and viewer. > OpenSceneGraph tells me, that I dont have valid context, even glGetString > function fails. > But when I call makeCurrent manually in simple test prgoram without rendering > by osg (only few opengl calls), everything works. It seems like linking > problems within libraries. > > Any ideas ? > > Thank you! > > Cheers, > Filip > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=55441#55441 > > > > > > _______________________________________________ > 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

