Re: HELP WITH OSMESA LIBRARY

"Roy Dennington" <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Organization Semichem, Inc.
Message-ID <[email protected]>
Urbano,

 

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:

http://www.opengl.org/resources/code/samples/sig99/advanced99/notes/node30.html

 

See also,

http://www.mesa3d.org/brianp/TR.html

 

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.

 

Roy Dennington

Semichem, Inc.

 

From: [email protected] [mailto:[email protected]] On Behalf Of Urbano Alves
Sent: Wednesday, November 30, 2011 8:01 AM
To: [email protected]
Subject: [Mesa-users] HELP WITH OSMESA LIBRARY

 

Hi,

Sorry by this email and question.

Anyway thanks.

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.

and

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?

Thanks





 

-- 

P Antes de imprimir este e-mail pense bem se é necessário fazê-lo.

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.