load 3d mesh or object

i want to load a 3d mesh or object in mfc dialog using opengl vc++ kindly help me

Use one of the thousand free libraries for loading 3d object on the web.

Autodesk Fbx: http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=6839916
Collada
by feelingsoftware: http://www.collada.org/mediawiki/index.php/FCollada
or by Sony: http://sourceforge.net/projects/collada-dom/
or openSource: https://collada.org/mediawiki/index.php/ColladaLoader

objLoader: http://sourceforge.net/projects/objloader/

Google a bit a you will find a lot of material.

-Obj format is very simple but you can export only vertex, normal and uvmaps… nothing fancy.
-Fbx is very powerfull for export animation and is well supported by Maya, 3DsMax, XSI and motion builder.
-Collada is a Khronos very complete format (heavily sponsored by Sony) where you can export any kind of object, geometry, particle system… any thing you need. Is supported by a lot 3d authoring program.

I sugget to use the obj format first (to create some study program) and then move to a more complete format like collada.

The best of the best is when you write your own exporter for your 3d program. :slight_smile: