Loading and Parsing ".x" files

I was wondering if someone could point me to where i can find information on how to load .x or .3ds files. Thanks !


.X files are direct3D’s standard format - i appreciate that they are (IMO) a half decent format and can be quite useful but what’s wrong with another?

If you really want to look on the microsoft developer site. (start at www.microsoft.com and search through for direct3d, then X-Files)


Hey beererindb,

If you are looking for tutorials on loading .3ds files, check out http://www.gametutorials.com . I think that the model loading tutorials are on page 5 of the OpenGL tutorials. The .x stuff…i have no idea.

  • Halcyon

Both the Direct3D8 and Direct3D9 SDK’s contain detailed information on both the text and binary forms of .x files. You should be able to pull that info straight from MSDN if you don’t want to download the SDK’s.

[This message has been edited by DFrey (edited 02-20-2003).]

Thanks all for your input. I was just using the .x format because the file i have is in that format. I’ll try converting it to .3ds and loading that, it might be easier.