I tested the example on: Windows Vista : NVidea Quadro FX 570M : PixelBufferWin32::makeCurrentImplementation, wglMakeCurrent error: The requested resource is in use. and crashs
under linux fedora (NVidea) it renders just black, with options -show it renders without any issue adrian 2008/4/29 Jason Ziglar <[EMAIL PROTECTED]>: > Thanks for the example. :) I've been trying to do something similar, > and this gives me a good basis to tinker from. > > I just tried out this example, which seems to work fine. However, if I > change the file output from .bmp to .jpg, the resulting image is > corrupted. Any ideas why this is? I tried attaching the image, but it > apparently goes over the filesize limit of the list. > > Thanks in advance, > > nicolas peña wrote: > > Hi all, > > > > As proposed in a recent thread I have implemented a quite > > simple example to show how to render without showing any window at all. > > As pointed out by Adrian this could by useful for server side rendering. > > The example is very simple right now. Every frame is saved to a file > > (overwriting the previous one) so that the user can check the results. > > The only options at the moment are the model to show (defaults to the > > famous cow) and the option "-view" (if given, renders using a window > > instead of a pbuffer ). > > There are things that I have not done yet as for example the mechanism > > to properly exit the program when no window is visible. > > I people show interest on this I could complete the example before its > > inclusion. > > > > > > Cheers, > > > > Nicolas. > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- ******************************************** Adrian Egli
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org