How to use multiple viewports in OpenGL?

前端 未结 6 958
说谎
说谎 2020-12-08 07:12

I need to show the same object in OpenGL in two different viewports, for instance, one using ortographic projection and the other using perspective. In order to do this, do

6条回答
  •  鱼传尺愫
    2020-12-08 07:47

    yes,

    and you should also change the scissor settings to have a clean separation between the two views if they are in the same window.

提交回复
热议问题