OpenGL and MFC

Started by
0 comments, last by Derek Doucett 23 years, 10 months ago
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/
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

This topic is closed to new replies.

Advertisement