Multiple OpenGL Viewports with Qt 5

Viewed 7742

I would like to render a 3D scene into different viewports. Those viewports are included in "subwindows" with their own menus like this: enter image description here

Each viewport can be:

  • Resized;
  • Hidden;
  • Displayed in full screen;
  • Moved to another part of the application.

So we can have something like: enter image description here

I believe it is better to embed each viewport into a Qt Widget containing my OpenGL widget (is that right?). So how can I render my 3D scene into several Qt OpenGL Widgets?

1 Answers
Related