[gl2ps] Offscreen-rendering with gl2ps?

Andreas Weber octave at tech-chat.de
Fri Feb 13 17:33:38 CET 2015


Am 13.02.2015 um 16:26 schrieb Christophe Geuzaine:
> 
>> On 05 Dec 2014, at 19:33, Andreas Weber <octave at tech-chat.de> wrote:
>>
>> Dear users and maintainers of gl2ps,
>>
>> GNU Octave with the FLTK graphics_toolkit uses gl2ps to generate prints.
>> This works really fine but we have a long standing bugreport that Octave
>> isn't able to produce print without a visible figure
>> (https://savannah.gnu.org/bugs/?func=detailitem&item_id=33180)
>>
>> Is it possible or does some of you have experience with
>> offscreen-rendering and gl2ps? If possible it would be really great to
>> use gl2ps even without a DSIPLAY (for example within a remote session
>> via ssh).
>> The solution should be crossplatform GNU/Linux, Windows, MacOS capable.
>>
> 
> I have no experience with this; but I would definitely be interested to know if it's possible!

Yes, it's definitely possible. The next Octave 4.0 release will use
OSMesa and gl2ps for offscreen rendering.

If you want I can create a minimalistic example with OSMesa and gl2ps
for GNU/Linux.

-- Andy