Results 1 to 8 of 8

Thread: Newbie replacing the .x file *resolved*

  1. #1

    Thread Starter
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502

    Newbie replacing the .x file *resolved*

    Well I'm a bit new to Direct X. Last year I tried DirectX ... but at the end I was only doing Direct Draw ....

    I just (some minutes ago) did a 2nd attempt to learn DirectX (8).

    I download an example. In the example a .x file is loaded and is turing around. A friend of mine made some models for me. So I tried to replace the .x file of the example with the one of my friend...

    However I get an error now ...

    In my debug field I get this output ...
    "An error occured creating the geometry: -2005531815"

    Is it a bad .x file ?
    or was it just a stupid idea to try replacing .x files with other .x files.

    I was just experimenting *sad*
    Last edited by BramVandenbon; Jan 26th, 2003 at 09:40 AM.
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    Baltimore, MD
    Posts
    230
    It depends on the app and how it's handling the .x file and the way the .x file was created.

  3. #3

    Thread Starter
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    Well he told me he decompiled a model that was used in a mod for HalfLife (game of Sierra)... But he made some changes to it before exporting the .x file.

    I added the x file in my attachement.

    please take a look
    Attached Files Attached Files
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  4. #4
    Addicted Member
    Join Date
    Aug 2002
    Location
    Baltimore, MD
    Posts
    230
    Loads fine into the VB sample x file viewer app.

  5. #5

    Thread Starter
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    Sample X File Viewer ?

    Is it on the CD-ROM of Visual Studio 6.0 or can I download it ?

    Is that the official name of it ?

    Is it an open source sample ?
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    It's a sample that comes with the DXSDK. You also get the source.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7

    Thread Starter
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    anyway, I'm not sure what was the problem but I started a program from scratch now, and everything works :-) seems like my DirectX 8 is starting to workout fine :-)
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  8. #8

    Thread Starter
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    thanks
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

Posting Permissions

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



Click Here to Expand Forum to Full Width