MD2Tool Bugginess...

edited 2011 Aug 19 in Technical Support
MD2tool is really awesome and useful, but unfortunately it crashes and dies on high poly models. Is there any chance of an update to Md2tool to allow it to handle newer high poly models?

Comments

  • If its crashing then it sounds to me like you are breaching one or more of the fixed format limits. Do you have an example model we could use for debug? I've been using md2tool for numerous years myself on Windows and personally, I've yet to see it crash given well-formed data.
  • Tea Monsters Demon model will crash it for example. The model is above the format limits 4700 something triangles, which is above the limits for MD2 -- but the models work in Doomsday and other programs, so it would nice if MD2tool could still be used (for LOD levels and whatnot). Setting the skins works with these models, but not much else.
  • That explains that then :). Md2tool defines the following fixed limits:
    #define MAX_TRIANGLES       4096
    #define MAX_VERTS           2048
    #define MAX_FRAMES          512
    #define MAX_MD2SKINS        32
    #define MAX_SKINNAME        64
    

    Please submit an RFE if you'd like these limits extending/removing. I can't say when we might get around to it though, we're pretty busy with work on the engine at present.
  • I asked earlier for the MD3 format to be implemented. I'm hoping that it wouldn't require a huge code re-vamp (it's not a skeletal model format for example). The big problem I have with MD2's is that there are no tools left that work with that format. There is no exporter for the new version of Blender, so I have to use old applications to work with it. I can't even get MD2tool to even run on Windows 7. So even if you updated the app to run on 64 bit systems, that would be an improvement.

    The really big plus with MD3's would be the lack of the 'Jelly' effect that plagues MD2 models. I had this problem with the Caco. I had exported the eye as as separate model to the main body to put a different material on it. If I exported it directly from Blender as an MD2, the eyeball would dance around inside the head of the Caco like it was a boiling egg. I had to ask Psychikon to work some black magic on the model to stop the eye from it's jumping-bean dance.
  • md2tool runs fine for me on Windows 7, what problem are you having?
  • Seems to be working now, which is rather strange...

    Does it have any Visual Basic dependencies?
  • None, its plain C and only links with the standard library and a few Windows-specific platform headers.
Sign In or Register to comment.