[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Backend independent print function
From: |
Shai Ayal |
Subject: |
Re: Backend independent print function |
Date: |
Sat, 12 Jun 2010 19:21:25 +0300 |
2010/6/12 Jordi Gutiérrez Hermoso <address@hidden>:
> On 12 June 2010 09:26, Shai Ayal <address@hidden> wrote:
>>
>> We have opengl based printing using gl2ps from the fltk backend.
>> The main big this not yet implemented is off-screen printing -- i.e.
>> printing w/o opening a window. I am not sure how to go about this,
>> since gl2ps needs an opengl context to work, and to create an opengl
>> context, you usually have to open a window...
>
> VTK faces this cross-platform problem too (it also uses OpenGL). I
> can't be too helpful about it, except that I think they use something
> called "mangled mesa" to do offscreen plotting, or did.
I think I looked at it way back (probably ~3 months ago. my memory
isn't what it used to be). It's very ugly and includes distributing
our own version of mesa with mangled names, and duplicating
opengl-renderer to use these mangled names. Ugly.
Shai