PDA

View Full Version : How can I load .x file?



Xorand
03-06-2003, 07:08 AM
I try to learn it from MSDN and the samples in DXSDK. But I don't understand what it writes at last. I think it's because I don't know directx very much(Maybe). But I still must load .x file in my opengl program. Can anyone tell or teach me where I can find the content of .x file or the tutorials(or examples) to open .x file? Thanks.

nexusone
03-06-2003, 08:47 AM
You should try a Direct X site and get the format of a .X file, then you can write a utility to import it into openGL.
www.gamedev.net (http://www.gamedev.net) has Direct X stuff so try there.

But why do you need to use .X and not make up your own format or use a standard format like OBJ or the like.



Originally posted by Xorand:
I try to learn it from MSDN and the samples in DXSDK. But I don't understand what it writes at last. I think it's because I don't know directx very much(Maybe). But I still must load .x file in my opengl program. Can anyone tell or teach me where I can find the content of .x file or the tutorials(or examples) to open .x file? Thanks.