PDA

View Full Version : Opengl and MFC



aus79er
03-20-2002, 12:11 PM
Hi,
I want to display 3D surface texture using MFC application.

I have never used opengl before.
Can someone guide me as to how should i proceed.
Currently I am reading books related to Opengl.

Thanks,
aus

nexusone
03-20-2002, 12:23 PM
The best place to start learning Opengl with MFC is:
http://nehe.gamedev.net



Originally posted by aus79er:
Hi,
I want to display 3D surface texture using MFC application.

I have never used opengl before.
Can someone guide me as to how should i proceed.
Currently I am reading books related to Opengl.

Thanks,
aus

ppinter1
03-20-2002, 12:29 PM
A simple example of MFC and OpenGL is at http://p-squared.com/Display3DS.zip

Just expand the zip file and open the .dsw workspace file.

The mainline is very straightforward, and the Okudagram class handles all the simplified OpenGL calls to make modifying to your needs easy (I hope).

Good luck,
/p2

J P
03-21-2002, 02:06 PM
There is practically nothing pertaining to MFC on NeHe's (a very fine) site except some programs in the demo section.

You might try
www.mfcogl.com (http://www.mfcogl.com)

or Humus'site.

chxfryer
03-21-2002, 03:57 PM
flipcode.com has a tutorial on this subject

Furrage
03-22-2002, 11:30 AM
Nothing with MFC on NeHe? Someone should send him some code...

nexusone
03-22-2002, 12:58 PM
You must not have been to his site in a long long time, he has the source code for all his lessons in diffrent versions, Linux, Game GLUT, Microsoft VC++.
And all his game tutors are for Microsoftvisual C++.



Originally posted by J P:
There is practically nothing pertaining to MFC on NeHe's (a very fine) site except some programs in the demo section.

You might try
www.mfcogl.com (http://www.mfcogl.com)

or Humus'site.

J P
03-22-2002, 01:03 PM
Someone should send him (NeHe) some code... Why?? When there is

www.mfcogl.com (http://www.mfcogl.com)

not to mention codeguru and codeproject.

nexusone
03-23-2002, 04:32 AM
The same reason that when you look at a openGL link list there are ton's of sites with same type of tutors on the same topics.
www.mfcogl.com (http://www.mfcogl.com) is just one of a bunch others that support programming openGL in MFC!!!!

nehe.gamedev.net is not the only OpenGL site but he does have support for using OpenGL on diffrent platforms and compilers.

http://www.opengl.org/discussion_boards/ubb/smile.gif


Originally posted by J P:
Someone should send him (NeHe) some code... Why?? When there is

www.mfcogl.com (http://www.mfcogl.com)

not to mention codeguru and codeproject.





[This message has been edited by nexusone (edited 03-23-2002).]

J P
03-23-2002, 04:53 PM
Nexusone,

Why don't you send NeHe some mfc code.