Advertisement

OpenGL Clipping

Started by January 30, 2000 04:37 PM
1 comment, last by LoungePig 25 years, 1 month ago
Is there a way to clip to a certain part of the screen. For instance if I wanted to have a picture-in-picture type effect, how can I make sure the smaller picture doesn''t overflow its boundaries? At the moment I am just glTranslated-ing it and glScaled-ing it to the right position and size. Thanks LoungePig
OpenGUI
LoungePig
OpenGUI
Take a look at the glScissor() function.




Nate
http://nate.scuzzy.net


Edited by - Nate on 1/30/00 6:28:12 PM

Advertisement
Cheers Nate, that''s just what I needed.

LoungePig
OpenGUI
LoungePig
OpenGUI

This topic is closed to new replies.

Advertisement