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

ModelConverterX alpha 08 release

Discussion in 'ModelConverterX' started by arno, 3/2/08.

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

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,304
    Country:
    netherlands
    Here is a new alpha version of ModelConverterX, this new version mainly brings a lot of small improvements to the SCASM reader. Here are the main changes:

    • Improved handling of polygon normals
    • Night textures now supported (for LoadBitmap and TextureList commands)
    • Direct compilation to FS2004 MDL added (using FSX X file)
    • Transformations with rotations now work correctly
    • Default scale of an API macro is read and applied from the comment in the file
    • SCASM automatic texture mapping options supported
    • Triangulation of polygons improved, so complex shapes should now be shown correctly
    • Option added to show the vertex normals in the preview window
    • Option added to save the preview image to a JPG

    My next big issue to work on now is the correct support of transparent textures. And also creating a manual for the tool, for which I already made a little start on the Wiki.

    Any feedback is welcome again of course,
    Last edited: 10/2/08
  2. BASys

    BASys

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

    Arno -
    Cheers for the latest version.

    Having problems opening several files
    all of which ISTR opened previously.

    All failing at DBD commands.

    Will have a closer look over the next couple of days.

    HTH
    ATB
    Paul
  3. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    Those warnings for binary commands have been in this tool since version 1. That is still on the todo list to support as well. But for most objects this should not hinder the loading of the model too much. If you have one that really fails, please send me the source code so that I can use it as a test case for future developments.
  4. BASys

    BASys

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

    Arno -
    Apologies,
    mean't to update the last post, but been tied up with IRL matters.

    DBD is the last command listed before the lockup,
    but is not nescessarily the cause.

    Please see your PMs.

    HTH
    ATB
    Paul
  5. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,304
    Country:
    netherlands
    Hi guys,

    I found the issue, the triangulation code failed if the input polygon was not correct (for example a polygon with no area). Here is a quick fix for this issue.

    Attached Files:

  6. BASys

    BASys

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

    Cheers Arno
    That fixed them again.

    ATB
    Paul
  7. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    Illegal Characters warning / Freeze

    Arno,

    I get a message about 'illegal characters' with many files. Please see fmsams10 as an example.

    The second one - cfs2hang - sends the program into nirvana, I have to close it with the taskmanager.

    Any idea :)

    Cheers,
    Martin
    Last edited: 21/2/08
  8. Ayrsimming

    Ayrsimming

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

    This screenshot may be the same as reported in previous message. I am getting similar type error messages on quite a few attempted imports.
    Thanks for adding the night-lighting, it's working well:)

    Iain
    Last edited: 10/4/09
  9. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    Yes indeed, Iain, this is exactly the same error message.
    Martin
  10. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,304
    Country:
    netherlands
    OK, I will try to reproduce it with the objects Martin attached. Hopefully I get the same errors here :).
  11. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    The illegal character error is caused by the quotes around the texture name. I have found and fix that in the code.

    The other API seems to have a triangulation problem, I still have to debug why this polygon keeps the triangulation in an endless loop.
  12. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    Very promising, Arno :) Thank you.
  13. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,304
    Country:
    netherlands
    New version is available that should solve the bugs mentioned here.
Thread Status:
Not open for further replies.

Share This Page