Save a gl surface in eps format

Hello,
I’m writing a macro to draw some surface using TF2 object.

I have tried to use the embed GL canvas, all work well in X11 but when I try to save the canvas in eps format the results is a surface, with openGL format, but in style glsurf4, black&white, while I like to use glsurf2, with colors.

Anyone know the reason?

I’m using CVS version.

Guido

[quote=“volpig”]Hello,
I’m writing a macro to draw some surface using TF2 object.

I have tried to use the embed GL canvas, all work well in X11 but when I try to save the canvas in eps format the results is a surface, with openGL format, but in style glsurf4, black&white, while I like to use glsurf2, with colors.

Anyone know the reason?

I’m using CVS version.

Guido[/quote]

Hi, Guido.

Yes, eps (embedded ps ?) uses gl2ps code. Unfortunatly, gl2ps does not support textures (gl surf2 is the surface with color levels, right?) - but color levels in GL surf are drawn with 1D texture.