Jump to content
  • Advertisement

Archived

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

Derek Doucett

OpenGL and MFC

This topic is 6631 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

Hi, I''m really interested in learning how I can go about making a primitive modelling program using Win32 and OGL. I know how to do the modelling part, but I''m stuck setting up the windows aspect. I really need to find a way to set up opengl and win32 to resemble the interface of 3d studio max. Once I get that finished I should be okay Thanks, - Derek Doucett ddoucett@ravenous.dhs.org http://ravenous.dhs.org/

Share this post


Link to post
Share on other sites
Advertisement
Hi!

I''m no MFC expert, but have done something similar before. I think what you need to do is first insert a SplitterWnd in your MainFrame. Then in the right splitter pane you insert a FormView. The left splitter pane gets another SplitterWnd (this time 4 way). In each of the subwindows, you would place your OpenGLView. Just search for MFC + OpenGL in your favorite search engine and you shall find. BTW, each OpenGLView will have to allocate its own rendering context and make it current, before accessing the OGL functions.

MK42

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!