Author Topic: OpenGL: multiple child windows and viewports  (Read 2265 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Guest
OpenGL: multiple child windows and viewports
« on: June 05, 2012, 10:31:34 AM »

This demo shows the use of 2 Opengl Child windows. One of the windows contains 4 viewports. As before, I have used a single hRC render context and applied it to the 2 hDC child window device contexts.

As with the earlier version, the rotation speeds can be set from the edit boxes.

Each scene is built from scratch after checking the size and shape of the client area, and setting the correct aspect ratio.

Charles

Compiled demo included

kryton9

  • Guest
Re: OpenGL: multiple child windows and viewports
« Reply #1 on: June 05, 2012, 01:40:53 PM »
Thanks Charles. You don't see too many demos like that anywhere else!

It will help send me in the right direction for what I want to do, when I get there.