OpenGL with MFC???,
Members - Reputation: 157
Posted 22 August 2001 - 05:57 PM
Just do a normal win32 program, and create your dialog boxes/viewer panes, etc through the win32 API...it''s much MUCH easier..
Posted 22 August 2001 - 06:15 PM
Members - Reputation: 356
Posted 23 August 2001 - 02:24 AM
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 ;-)