[gl2ps] glColorMask not taken into account

Sébastien Cuendet sebastien.cuendet at epfl.ch
Tue Oct 23 10:37:40 CEST 2012


Hi, 

I started using gl2ps yesterday, and it's a great lib! One thing that does not seem to work, though, is writing only to the depth buffer, i.e. not to the color one. I normally do that by calling 

glColorMask(GL_FALSE,GL_FALSE,GL_FALSE,GL_FALSE);

It works fine in regular OpenGL display, but when printing with gl2ps, it still prints the color. Has anyone faced the same problem? 

Thanks,

Sebastien