Hi Andrew, Producer relies upon X11 so you won't be able to use it.
I don't know if what you are after is possible, but the first place to look would be getting a bare OpenGL application working, you'll need to open a graphics somehow though, without GLX you'll need something else, I'm not familiar with mesa, but perhaps it has support. Once you have a basic OpenGL app working next step would be to create an OSG app, based around SceneView. See the osgsimple example for inspiration. Robert. On 7/20/06, Andrew Straw <[EMAIL PROTECTED]> wrote:
Hi, I wonder if there's a recipe for rendering completely in software, completely offscreen. What I'd like to do is run some OSG simulations on linux servers with no video cards, or even X11, installed. On my Ubuntu Dapper system, the libgl1-mesa-swrast package apparently provides pure-software OpenGL, but I so far haven't found any success trying to use this method. I've tried this using pbuffers from Producer, using the following line: camera1->getRenderSurface()->setDrawableType( Producer::RenderSurface::DrawableType_PBuffer ); Unfortunately, I get: RenderSurface::realize() - unable to open display ":0.0" When I try this approach it seems that the code in RenderSurface_X11.cpp calls XOpenDisplay( dpyname ) which returns a null pointer. (This is in OSG 1.0.) So, the question is - is there a recipe for offscreen, software-only rendering? If not, any pointers to get me starting in the right direction? Cheers! Andrew _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
