Archived

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

grafix

meshes in opengl

Recommended Posts

just as we use .x files to include 3d meshes in directx what do we do to do the same in OpenGL ? and what are the utilities in which one can make these 3d meshes ?

Share this post


Link to post
Share on other sites
I hate to be the one to have to break this to you, but unfortunately, OpenGL does not have any high-level functions such as OGL3DMesh.loadMesh()

Well, in OpenGL you have to do such things by hand! If you -really- want to support .X files, there is some documentation on the file format at Wotzit (Hosted by gamedev.net). The file format is getting quite ancient now though and I couldn''t see anyone actually -wanting- to support it!



-------- E y e .Scream Software --------
----------------------------------------
                                  /-\
    http://www.eyescream.cjb.net | * |
                                  \-/
----------------------------------------

Share this post


Link to post
Share on other sites
Mesh: noun. 1) The open spaces in a net, sieve or other criss-cross structure. 2) Material made like a net; Network.

In this context, a mesh is a series of polygons which if joined together using a series of invisible lines, they form a 3D object



-------- E y e .Scream Software --------
----------------------------------------
                                  /-\
    http://www.eyescream.cjb.net | * |
                                  \-/
----------------------------------------

Share this post


Link to post
Share on other sites