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

Drawcall minimizer finished & release candidate

Discussion in 'ModelConverterX' started by arno, 20/4/10.

  1. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    I have just committed a new development release, the most important function in this new version is that I have finished the drawcall minimizer. The minimizer should not also work correctly with night textures and other sub textures.

    I have tried to test all functions, but I had to change quite some code to get the minimizer working as I wanted. So hopefully I have not introduced too many bugs in this new version. If you find any issues please let me know.

    With this function added I have finished my plans for the ModelConverterX 1.2 release. So you can see the development release that will be available from tomorrow as a sort of a release candidate for the next stable release. After some more testing and some final bug fixes I hope to have the stable release ready before the end of the month.
  2. gary20

    gary20

    Joined:
    23/9/08
    Messages:
    41
    Country:
    canada
    Awesome Arno

    Thank you for such an incredible program

    Gary
  3. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    Hi Arno,

    Will that also include a fix for the FS9 animation export?
  4. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    I am not yet sure about that, could be I will keep that for the next version. Unless I can find it easily. Problem is that I only have FSX here, so I can't even fully test the FS2004 animations in FS2004. I have to thrust that if they work in FSX they should also in FS2004.
  5. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    By the way - I checked the current version for the rotation animation. The animated parts (which were invisible during the tests with one of the last releases) are now visible again. But the are positioned on ground level instead of where they should be and they do not rotate.
  6. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,302
    Country:
    netherlands
    OK, I'll take a look today and see if I can find something.
  7. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    I got the animations to work better now. This will be in the next development release. I still have some parts that are displaced, not sure yet how to fix that.
  8. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    I am jumping to test that, Arno :D
  9. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    I have also fixed the offset issue now I think (or I hope :)).

    Let me take a look at your API in FS2004 and then I will make a new development release right away.
  10. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,302
    Country:
    netherlands
    The new development release with the FS2004 animations is available from now.
  11. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    You did it, Arno! :wizard:

    Radar rotates, all elements where they belong, gorgeous looking. Thank you :)
  12. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    28/5/04
    Messages:
    21,302
    Country:
    netherlands
    Glad to hear it is working for you :).
  13. scott967

    scott967

    Joined:
    3/2/05
    Messages:
    1,267
    Country:
    us-hawaii
    Arno, what would be a good way to test the draw call minimizer?

    scott s.
    .
  14. bob5568

    bob5568

    Joined:
    8/7/04
    Messages:
    1,103
    deleted as I figured it out
  15. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    Any model that uses a lot of small textures would be a good candidate. This can be an old API or a COLLADA/Google Earth object. Especially those last ones often use many small textures. The attached screenshots show how I have reduced about 35 textures into 2 with the Drawcall Minimizer tool.

    Attached Files:

  16. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    I just made one more change the to the drawcall minimizer. You can now set in the options what texture size you want to use. For some objects 1024x1024 was too big and that would result in a lot of unused texture space. So the default is still 1024x1024, but you can change it to another value if needed.

    This change is available in the development release already. I would call the current version the release candidate for ModelConverterX 1.2. Of course bugs found will still be fixed, but new features will not go into this next stable release anymore.
  17. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    Arno,

    I just noticed that most (but not all) FS9 compatible BGLs give an import error.

  18. gsnde

    gsnde

    Joined:
    21/3/05
    Messages:
    2,925
    Country:
    germany
    Arno,

    Most likely a logical consequence of the previous report - same crash happens when runnig the Missing Texture Finder from within MCX.
  19. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    Humm, I can't remember I changed anything in that code. Let me check...
  20. arno

    arno Administrator Staff Member FSDevConf team Resource contributor

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

    This seems to happen while reading the GUIDs and names from the TXT file that belongs to the library. Could you maybe send me this TXT file for one of the libraries that crashes? Then I can see where it goes wrong.

Share This Page