rendering to a window within a program

Started by
0 comments, last by chawk 19 years, 7 months ago
Is it possible to render to a viewport within a program? In other words I want to be able to display a model in the viewport, and then have options next to it which modify the way in which the model is displayed or moved. Is this possible, and if so how?
Advertisement
glViewport(x, y, width, height)
drawModel();
glViewport(default values for the whole screen)
drawButtonsNStuff();

This topic is closed to new replies.

Advertisement