there is a tutorial over multiple viewports at NeHe''s. It''s on the last page of the tutorials.
I think that what you really want to do is create 4 child windows within your main window, and then you obtain a rendering context for each window individually using the seperate HWND''s - this will give you 4 HLGRC''s. You have to bind each one with the wgl function wglMakeCurrent() with the appropriate render context when you want to render to each one. Note you need to look in to sharing resources if you want to be able to use the same texture''s etc.. in all 4 windows.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement