Has anyone used OpenGL and MFC together. If not, how are these model viewers and stuff being made? Do they use different libraries for Windows?
If anyone knows how to get OpenGL to work with MFC, please let me know.
dont use the MFC you wont get very far. THe code may be clean, buts its far from worth it. Theres 500000000000000 lines to work though all the time, and if you have an error you cant scroll through your scrip because you don even know what you did. lol.
Hi! The two previous posts are quite right if you''re developing games. But Mfc can be (and is actually) used for editors and such (I think even Qeradiant, id''s level editor uses Mfc, or 3DSMax...). There are very good examples and tutorials for use of Opengl with Mfc from Pierre ALLIEZ (http://www.codeguru.com/opengl/opengl.zip) found on http://www.codeguru.com/opengl/. I tried it myself and it works quite good. Opengl is even preferred when implementing 3D graphics in an Mfc app because it cooperates better with Mfc than DirectX ;-)