Opengl and MFC

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

The best place to start learning Opengl with MFC is:
http://nehe.gamedev.net

Originally posted by aus79er:
[b]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[/b]

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

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

or Humus’site.

flipcode.com has a tutorial on this subject

Nothing with MFC on NeHe? Someone should send him some code…

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:
[b]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

or Humus’site.[/b]

Someone should send him (NeHe) some code… Why?? When there is

www.mfcogl.com

not to mention codeguru and codeproject.

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 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.

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

www.mfcogl.com

not to mention codeguru and codeproject.

[/b]

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

Nexusone,

Why don’t you send NeHe some mfc code.