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

ModelConverterX alpha 05 release

Discussion in 'ModelConverterX' started by arno, 7/1/08.

Thread Status:
Not open for further replies.
  1. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,351
    Country:
    netherlands
    Here is a new version again. This time mainly some bug fixes:

    • MDL exporter now works with paths with a space
    • Fixed crashes when running for the first time due to some settings not set to default values
    • Fixed texture name problem in OpenFlight exporter
    • Some improvements in the SCASM reader so that more macros are read correctly now

    I have also started implementing some new features, like night textures, but that is not fully working yet. So for that you will have to wait for the next version.
    Last edited: 9/1/08
  2. Ayrsimming

    Ayrsimming

    Joined:
    2/1/05
    Messages:
    110
    Country:
    scotland
    Hi Arno

    Many thanks for latest version.
    Happy to report that exporter now working for me. Also now got the texturing problem sorted out in preview.

    Can also advise that the .x files produced will compile with MakeMdl from FS2004 gamepack. I have an .asm and _0.asm file plus .mdl and also have been able to run the mdl file through MdlTweaker2 and apply new condition.

    Thanks again

    Iain
  3. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,351
    Country:
    netherlands
    Thanks Iain, good to know it also works with the FS2004 MakeMDL, guess I should also write a MDL exporter for that one.
  4. BASys

    BASys

    Joined:
    25/5/06
    Messages:
    1,259
    Country:
    scotland
    Hi Folks

    Arno -
    Nice work sir.

    Couple of points -
    - Batch export as x file, all have the extension . (X
    - Texturing, although being called correctly, displays the light maps instead.
    - Wheels appear to be missing last segment.
    - Some models only show half their sides, (as if they'd originally been mirrored).
    - Errors indicate some commands not supported.
    e.g.
    Unsupported command IfVarRange
    Unsupported command Dwx
    Unsupported command Dbd
    Unsupported command Dbx
    Unsupported command IfVarAnd
    Unsupported command LineColor
    Unsupported command DotPt
    Unsupported command Dot
    Unsupported command DrawToPt
    Unsupported command MoveToPt
    Can supply api's if required, (please PM your email address).

    Lastly, for a future version please,
    for a single x export,
    could the source filename be populated automatically.

    HTH
    ATB
    Paul
  5. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,351
    Country:
    netherlands
    Hi Paul,

    Found it, stupid little bug indeed. I did only test MDL and FLT batch until now and they work fine.

    Are you seeing this in FS or in the preview? I did some (not yet finished) work on getting night textures working again, but did not expect it to work like this :).

    These two are probably related to some trouble with the normals, I am still working on the last issues there. Do you see the polygons on the other (wrong) side? I'll send you a PM so that I can look at the model.

    Most of these I already know:

    Lines: will probably not be supported soon, as FSX does not know this kind of object in the MDL. Would have to convert them to polygons in some way then.

    Dwx/Dbd/Dbx: these are codes to write hex BGL codes directly. They are high on my list to implement next, especially as FSDS uses them a lot (so that they could keep using an old SCASM version).

    IfVarRange: conditions are not possible in the MDL format, so for the moment this command is ignored. Maybe I should hide the warning if I decide to hide them myself :).

    Good suggestion, wrote it down. Will probably be in next alpha :).

    Thanks for this useful feedback,
  6. BASys

    BASys

    Joined:
    25/5/06
    Messages:
    1,259
    Country:
    scotland
    Hi Folks

    Arno -
    Excellent news all round.

    re: Texturing
    Only in preview,
    as I hadn't tried in FSX yet.

    Can supply texture set to match APIs if required.

    re: Lines
    I've maybe misunderstood, (being a non-modeler),
    but thought from wiewing some older ODG platforms
    that FSX already handled these.

    re: IfVarRange
    I'd assumed it was a conditional.

    Please do not hide the warning.
    Better to know there's a possible issue.
    Maybe include a notice in the readme.

    re: Do you see the polygons on the other (wrong) side?
    I think you may have identified the issue there
    will check again tomorrow.

    Look forward to the next version.

    Email of APIs to follow shortly.

    PS
    Not sure if it's my source files,
    but seeing 'black borders'
    from what looks like -
    a ~2px vertical displacement downwards,
    and 1px lateral displacement leftwards,
    of all textures applied, (in preview mode).

    HTH
    ATB
    Paul
    Last edited: 8/1/08
  7. Ayrsimming

    Ayrsimming

    Joined:
    2/1/05
    Messages:
    110
    Country:
    scotland
    Hi Arno

    I can advise having placed and viewed converted objects in FSX and see no problems with the texturing apart from the night lighting which we are aware you are hoping to add in a future version.
    Now I have the paths set up also for textures in the preview screen they are also appearing as expected.

    Iain
  8. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,351
    Country:
    netherlands
    Hi Paul,

    OK, will see if I can reproduce this problem here and debug it.

    Yes, the engine can display them (backwards compatibility), but using the new FSX MDL files you can not define them.

    Agreed. I think I should just read them and then let the export say it can not save them. Other exports might be able to handle them, so the data should not be lost.

    Got them, thanks.

    Haven't seen that before. Will try with your APIs to see if I can reproduce this.
  9. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,351
    Country:
    netherlands
    And again a new release, so I'll close this thread.
Thread Status:
Not open for further replies.

Share This Page