PDA

View Full Version : How can I render only in a part of a window ?



opla
05-04-2001, 07:17 AM
How can I render only in a part of a window ?
(I want to render several context in the same window )

Nutty
05-04-2001, 07:22 AM
glViewport ?

zed
05-04-2001, 01:44 PM
as nutty saiz alos glScissor(..) will restrict any drawing you do to within its(scissors) coordinates

opla
05-08-2001, 02:24 AM
glScissor works fine !
thanks http://www.opengl.org/discussion_boards/ubb/wink.gif