rendering to a window within a program
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?
glViewport(x, y, width, height)
drawModel();
glViewport(default values for the whole screen)
drawButtonsNStuff();
drawModel();
glViewport(default values for the whole screen)
drawButtonsNStuff();
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement