Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


multiple glwindows

This topic is 6099 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hey just out of curiosity... is it possible to create multiple simultaneously running glwindows (eg use them like the UT map editor uses D3D in perspective view)? moreover, is it possible to project a glscene onto eg a dialog box or a Win32 control? keep cool

Share this post

Link to post
Share on other sites
Yes, both is possible.
to the first one: you have to save some DC''s and RC''s (for every one window you want), actually i haven''t tested it in VC6 but i did something in Delphi5, here''s the code for switchin the windows:


ViewPort is a simple TPanel and in ViewPorts_Stat[ID].RC i saved the RenderingContext of this specific window
you get the RC with:


to the second one: you can turn everything into an GLwindow, as long as you can get the DC of this object

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!