Oxygen Basic

Programming => Example Code => Graphics => Topic started by: Charles Pegge on June 05, 2012, 10:31:34 AM

Title: OpenGL: multiple child windows and viewports
Post by: Charles Pegge 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
Title: Re: OpenGL: multiple child windows and viewports
Post by: kryton9 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.