Results 1 to 4 of 4

Thread: [DirectX] .X files from code!

  1. #1
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    [DirectX] .X files from code!

    Hi there,

    I know it's possible to create .x files from code, but I'm needing an example...

    Can any one help my??

    (I currently using my own file format, but for animated models I want to use the .x files.
    juist cause I think they work easy)

    Thanks in advance,
    NecroDOME himself
    NecroSOFT - End of line -

  2. #2

    [DirectX] .X files from code!

    There are D3DX functions available to create the mesh and animations and then call D3DXSaveMeshHierarchyToFile() to save it all out to file. It is quite complex though.

  3. #3
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    [DirectX] .X files from code!

    I do not want to save it to a file (yet),
    Im trying create one from code, but I think im needing an example (or some help )
    NecroSOFT - End of line -

  4. #4

    [DirectX] .X files from code!

    Really old DirectX 8.x example: GenXFile.
    But it shows exactly what you need.
    There are only 10 types of people in this world; those who understand binary and those who don't.

Bookmarks

Posting Permissions

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