[gl2ps] glScissors
Christophe Geuzaine
geuzaine at acm.caltech.edu
Fri Jul 30 08:19:18 CEST 2004
Shai Ayal wrote:
> Hi again
>
> I am using glScissors in my code and it seems that gl2ps does not
> support it. There is some reference to glScissors in the gl2ps web page
> in relation to the glViewport command, although reading their respective
> manpages does not offer any clue as to the relations -- can I use
> glViewport to preform clipping as does glScissors? Does gl2ps support
> this? and how do I use it? If not, can you suggest a workaround?
>
Yes, have a look at gl2psTest.c to see how to use gl2psBeginViewport()
and gl2psEndViewport().
PS: use the attached version--the one distributed in the official
package is buggy.
Best,
Christophe
--
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gl2psTest.c
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20040730/1e71f2e0/attachment.c>