Jump to content

  • Log In with Google      Sign In   
  • Create Account


OpenGL with MFC???


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Zumichu   Members   -  Reputation: 122

Like
Likes
Like

Posted 22 August 2001 - 04:25 PM

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.

Sponsor:

#2 wazoo69   Members   -  Reputation: 157

Like
Likes
Like

Posted 22 August 2001 - 05:57 PM

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

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 22 August 2001 - 06:15 PM

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.

#4 baumep   Members   -  Reputation: 287

Like
Likes
Like

Posted 23 August 2001 - 02:24 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS