Archived

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

Guybrush1138

I can't load the bloody X file!

Recommended Posts

Hi guys. The fact of the matter is, I have Hash Animation Master 2002, and I''ve been exporting .3ds files out of it. After that, I use conv3ds.exe to convert those into .X files. The problem is, when I try to load the files into my program, the program exits out of itself! I''m using Microsoft Visual C++ 7.0, DirectX 7.0, and the load function from "d3dfile.cpp." (I got THAT from the book CD-ROM of Teach Yourself DirectX 7.0 in 24 hours.) Somebody help me, I''m going crazy.

Share this post


Link to post
Share on other sites
Check to make sure you can load the x file in mesh viewer (mview.exe) that''s in the SDK, so you can at least determine whether the problem is the code or the data.



Development Lead, DirectX
Windows Graphics & Gaming Technology

Share this post


Link to post
Share on other sites
OK, I think I''ve isolated the problem...when all is said and done, the .x file generated has no "Material List" in the middle of the "Mesh" part. When I use the -m command line, the material in the newly created "Material List" is a blank. (White, with no texture) This is mightily frustrating...somebody help.

Share this post


Link to post
Share on other sites