PDA

View Full Version : OpenGL within small part of screen



Lunis
10-23-2001, 11:41 PM
Hi,

is it possible to use OpenGL for only a small part of the screen? I would like to present 3D-graphics in my windows application, but I don't want to use OpenGL for all the graphics. I want it to be integrated with the rest of the graphics. Today, I use only such functions as provided by the windows.h file, creating the graphics (windows, buttons) on my own. I don't use any high-level api like MFC.

Thanks and regards,
Lunis

Morglum
10-24-2001, 12:07 AM
Have you tried passing appropriate arguments to glViewport ? I mean, there must be a call to glViewport
somewhere in your program. I've not tried yet, but I
think that it allows you to specify exactly which region
of your window is managed by OpenGL. Hope that helps....