OpenGL Clipping

Started by laginimaineb, May 05, 2007, 10:25:45

Previous topic - Next topic

laginimaineb

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.

spasi

The equivalent in OpenGL is glScissor(int x, int y, int width, int height).

laginimaineb

Thanks a lot, this is exactly what I was looking for. :)

With Thanks,
laginimaineb.