I wanted to know what should be the behavior of openGL, when defining the viewport as larger than the screen resolution.
Say I’m using screenres of 800x600, but in my display func I call glViewport(0,0,1024,1024), what would be the result - would I see the whole scene?
As I understand it, it’s like putting a 10x15cm photo page, into a printer that outputs 20x30cm photos. So I would see only a part of the scene - am I right? :confused:


Yes, you would only see a part of the viewport; the lower left 800x600 part in your example.

Thanks :slight_smile: