LWJGL Forum

Programming => OpenGL => Topic started by: laginimaineb on May 05, 2007, 10:25:45

Title: OpenGL Clipping
Post by: laginimaineb on May 05, 2007, 10:25:45
Hello, I am new to LWJGL and have been wondering how is it possible to set the clipping area (equivalent to Graphics2D's setClip).

With Thanks,
laginimaineb.
Title: Re: OpenGL Clipping
Post by: spasi on May 05, 2007, 14:39:12
The equivalent in OpenGL is glScissor(int x, int y, int width, int height).
Title: Re: OpenGL Clipping
Post by: laginimaineb on May 06, 2007, 15:05:29
Thanks a lot, this is exactly what I was looking for. :)

With Thanks,
laginimaineb.