[Mesa-users] HELP WITH OSMESA LIBRARY
roy at semichem.com
Wed Nov 30 07:06:22 PST 2011
We use tiling to generate pictures at higher resolutions. The viewport must be smaller than the screen size, or it will not work on most platforms. See:
With a screen DPI around 100, using nine tiles can be used to generate a 300dpi raster image. In your case, use as many tiles as necessary to get the tile size less than the screen size. Then, use any number of techniques to render off-screen.
From: mesa-users-bounces+roy=semichem.com at lists.freedesktop.org [mailto:mesa-users-bounces+roy=semichem.com at lists.freedesktop.org] On Behalf Of Urbano Alves
Sent: Wednesday, November 30, 2011 8:01 AM
To: mesa-users at lists.freedesktop.org
Subject: [Mesa-users] HELP WITH OSMESA LIBRARY
Sorry by this email and question.
Well, I have a program in C++ and with some openGL libraries (GLUT and GLUI).
This program make some statistical calculation like cluster analysis.
Some of them are a very large picture.
They are more bigger than the screen size.
Well, we can talk about 2000x5000 pixel.
If the picture size is less than screen size no problem,
the program work and can save a PNG file.
But, if the picture size is bigger than the screen size I can't save it.
AND I NEED THIS PICTURES.
Well I think the osmesa.h library can help.
and I try it, and it don't work. No error, but the buffer are empty (fill with zero).
Well some idea?
P Antes de imprimir este e-mail pense bem se é necessário fazê-lo.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-users