• Advertisement

Archived

This topic is now archived and is closed to further replies.

Stupid question

This topic is 5902 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m prolly gonna be laught at for this q, but I''m lyk brand new to da Windows programmin scene... so here it is... is it possible to use MFC in an OpenGL program? Don''t laugh aiight? Payce

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Yes, it is. MFC is just one way of running a program (everything is done for you via OOP). All you have to do is squeeze a routine in their that initializes OpenGL (or at least tries to... if failure the routine displays an error and quit). Also you would have to make a routine that displays what you want to display. Try NeHe''s OpenGL tutorials... http://nehe.gamedev.net

Share this post


Link to post
Share on other sites
quote:
Original post by mAdMaLuDaWg
Is there any advantages of knowing MFC when programming in OpenGL?



No. OpenGL can be used with standard win32 API call, or even wrapers like SDL, GLUT, etc...

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
It''s possible but I would recommend (for own own personal brain health) to stay away from MFC as far as you can. OGL on the other side, is great.

Share this post


Link to post
Share on other sites

  • Advertisement