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/

Reply via email to