From: Brian P. <br...@tu...> - 2002-06-21 19:53:41
|
Jeff Lewis wrote: > Has anyone been successful printing with Mesa under Windows? > > If so, could you spare some code? ;-) > > We have been trying, but have, as of yet, been unsuccessful. > MesaCreateContext requires a window handle which just isn't practical in > our situation. osmesa_context doesn't seem to be working. We can't > seem to get anything out of it... (Or perhaps onto it... we just > really can't tell...) > > Any help would be appreciated. As you probably know, printing is not a part of OpenGL. The best you can do is take a rendered RGB image and convert it to a printable format. Many people use the OSMesa interface to do this. Have you tried demos/osdemo.c? It should work on Windows and should give you the general idea of what to do. -Brian |