OpenGL with MFC???
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.
thanks.
Dude, TAKE it from a vc developer.....spare yourself from the agony and suffering of using MFC. Spare yourself from trying to track down which god-#$#$ mfc dll is somehow not being called right...
Just do a normal win32 program, and create your dialog boxes/viewer panes, etc through the win32 API...it''s much MUCH easier..
Erik
Just do a normal win32 program, and create your dialog boxes/viewer panes, etc through the win32 API...it''s much MUCH easier..
Erik
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 ;-)
baumep
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 ;-)
baumep
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement