loading 3d files

Are there premade functions to load 3d files into memory or I have to read the files and understand the format to load 3d files such as “.x” into memory.

No.

OpenGL is not about loading file formats, check out http://www.wotsit.org/ instead.

OpenGL does not do any file handling, but you can find some pre-written 3d file loaders for diffrent formats.

nehe.gamedev.net I think he has a model loading example.

Originally posted by answer:
Are there premade functions to load 3d files into memory or I have to read the files and understand the format to load 3d files such as “.x” into memory.