1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Crashtree - No Granularity Specified

Discussion in 'Modeling' started by Brother23, 23/11/06.

  1. Brother23

    Brother23

    Joined:
    10/11/06
    Messages:
    184
    Country:
    germany
    After jumping over a few hurdles I saw this last END BOSS that stands
    in my way of getting to the skies with my new plane.

    What means this?

    and

    Where can I define such Granularity?


    Greetings
  2. Nodd

    Nodd

    Joined:
    1/11/06
    Messages:
    35
    Country:
    us-connecticut
    I get that message also. I'm not sure what it means either but the MDL works fine in FSX.
  3. Brother23

    Brother23

    Joined:
    10/11/06
    Messages:
    184
    Country:
    germany
    Granularity

    Hi,

    yes the whole process runs fine until it comes to this shitty granularity.

    The next step was to think on polygonal errors in the plane model.

    So I instead used geometric primitives. A cube and a sphere.

    But only with the same result. With this method, I think, I have proved

    that not my model is the reason but another yet unknown fact of

    XTOMDL.

    Can please someone show his onscreen dialogue when exporting from 3DSMAX?

    Thats this screen with FS10 Materials, Skin Animation etc. Perhaps you

    folks have the checkers on other points than me.

    Greetings
  4. Brother23

    Brother23

    Joined:
    10/11/06
    Messages:
    184
    Country:
    germany
    And...

    ...I get no workable MDL out of that process. THE SIZE OF THE FILE KEEPS ZERO.

    Greetings
  5. Brother23

    Brother23

    Joined:
    10/11/06
    Messages:
    184
    Country:
    germany
    Nodd

    What Atrributes are you using with XTOMDL?

    Greetings
  6. robby88

    robby88

    Joined:
    25/9/06
    Messages:
    58
    Country:
    australia
    The SDK mentions that no crashtree information is being generated from this version of xtomdl.exe, so that message is irrelevant for the time being. Just ignore it.
  7. Brother23

    Brother23

    Joined:
    10/11/06
    Messages:
    184
    Country:
    germany
    Yeah...

    ...but I cant ignore with all my mighty power of the seven worldskies,

    ...

    ...that the resulting MDL File keeps -ZERO- in size.

    So when the Crashtree can be ignored my error seems to be how I
    access the MDL. I saw those tip for the SENT TO shortcut at AVSIM
    but this doesnt work under my XP PROFFESIONELL. I have no SENT TO
    at this location.

    What do I have to do to get this shitty piece of microsoft software
    to produce a usable MDL AIRCRAFT.

    Please help!

    Greetings
  8. Nodd

    Nodd

    Joined:
    1/11/06
    Messages:
    35
    Country:
    us-connecticut
    Sorry to hear you're having a hard time compiling your aircraft Brother23. Here's what I do...

    I made the following folder & placed these files in it:

    [​IMG]

    I created a shortcut named "CompileAircraft with Animation" using the following settings:

    [​IMG]

    Next I export an X file from 3DS MAX into my Compile folder. As my aircraft has animation it also creates an XAMIM file but you don't need to do anything with that.

    [​IMG]

    Next I Drag & Drop the X file onto my shortcut. I don't do the "Send To" thing:

    [​IMG]

    This brings up a DOS window where I see my aircraft being compiled. I do get that silly Granularity message but I ignore it.

    [​IMG]

    I end up with my MDL file that I copy to my aircraft's FSX model folder. Hope this helps.
    Last edited: 29/11/06
  9. Brother23

    Brother23

    Joined:
    10/11/06
    Messages:
    184
    Country:
    germany
    Thank you very much Nodd!

    I tried it...i doesn`t work. I had it already the same way.

    Let overthink this.

    I have the same C routine like you, from the deluxe FSX DVD.

    Then I used a simple SPHERE PRIMITIVE to test. The X-File shows

    fine in the DirectX-Preview.

    But when I drag the File over the shortcut it produces only a File

    with Size Zero.

    There seems to be a subtle difference in our processing because

    Xtomdl tells me everytime what attributes to use. There seems to

    be a small error. But where.

    Here is my SHortcut text...

    %windir%\system32\cmd.exe /K C:\FSXAirCompiler\XToMdl.exe /DICT:C:\FSXAirCompiler\modeldef.xml

    Its the same like yours, or?

    Can it be the modeldef?

    What DirextX Tools do you use?

    Greetings
  10. Nodd

    Nodd

    Joined:
    1/11/06
    Messages:
    35
    Country:
    us-connecticut
    The only difference between our XtoMDL.exe shortcuts other than the compiler folder name & that I'm using the /XANIM flag is that you used both upper & lower case letters here & there:

    Mine
    %windir%\system32\cmd.exe /K C:\foldername\xtomdl.exe /DICT:C:\foldername\modeldef.XML

    Yours
    %windir%\system32\cmd.exe /K C:\foldername\XToMdl.exe /DICT:C:\foldername\modeldef.xml

    I doubt that's the problem though.

    I'm using DirectX 9.0c

    I know some people edit their modeldef.xml file. I've not changed mine. Perhaps try reinstalling the SDK?

    I'm no expert at this stuff sorry. Good luck & I hope you figure out the problem soon.
  11. Brother23

    Brother23

    Joined:
    10/11/06
    Messages:
    184
    Country:
    germany
    Ok...

    ...I think I have to wait for the new SDK version.

    Perhaps they have XTOMDL with GUI then.

    Greetings
  12. Ken42

    Ken42

    Joined:
    23/4/07
    Messages:
    1
    Country:
    sweden
    You probably already found the solution, but anyway this worked for me...

    [From the wiki]
    1. XTOMDL.EXE generates only MDL-Files with ZERO SIZE -- International windows settings must be set to US (dot used as decimal character)

    Cheers,
    Kenneth

Share This Page