Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: How can I load .x file?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2003
    Posts
    4

    How can I load .x file?

    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.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,096

    Re: How can I load .x file?

    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 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •