Home Technical Talk

Blender, and game model plugins

CheapAlert
polycounter lvl 18
Offline / Send Message
CheapAlert polycounter lvl 18
I thought there was a newer MD3 export plugin, but all I could find was bob's plugin that "doesn't do anything yet".

and KDR what happened to that PSK export script?

Can anyone give me the lowdown on the current status of game model format import/exporters such as those for md5, md3, and psk?

I would google, but those will usually take me to outdated/limited versions, so i'm asking the other blenderheads (if any) here.

Replies

  • KDR_11k
    Offline / Send Message
    KDR_11k polycounter lvl 18
    I never got far with that PSK thing because I don't really understand what those specs are saying. I just don't know how the MSVC compiler handles writing structs to disk though a coder friend said that's not defined in the standard anyway and there's no way to know what will happen.

    Ton's MD5 thingie seemed pretty complete, are you missing anything?
  • Dragonlord
    Offline / Send Message
    Dragonlord polycounter lvl 18
    [ QUOTE ]
    I never got far with that PSK thing because I don't really understand what those specs are saying. I just don't know how the MSVC compiler handles writing structs to disk though a coder friend said that's not defined in the standard anyway and there's no way to know what will happen.

    Ton's MD5 thingie seemed pretty complete, are you missing anything?

    [/ QUOTE ]
    very simple. structs are packed on DWORD boundaries. int=>4bytes, short=>2bytes, float=>4bytes. fill up to 4bytes boundaries and that's it... if you've got the source code that means wink.gif

    EDIT: except the struct is wrappedn in a pack-directive, then it's no more 4 bytes boundary. i hardly doubt this though ¬.=.¬
  • mcrandello
    Offline / Send Message
    mcrandello polycounter lvl 17
    This is the most complete one I've found for md3:
    http://www.quakesrc.org/forums/viewtopic.php?t=5527
    The guys there started working on Bob's script it looks like and it just kind of trailed off from there a few weeks ago. If you get ahold of the one with fixed tag support find out if he'll let you host it somewhere for download. I'd pester him about it myself but I'm still learning how to operate the program, not quite ready to wrestle with the exporter myself.
  • CheapAlert
    Offline / Send Message
    CheapAlert polycounter lvl 18
    [ QUOTE ]
    Ton's MD5 thingie seemed pretty complete, are you missing anything?

    [/ QUOTE ]

    A google search for that takes me back to this post. :P
  • KDR_11k
    Offline / Send Message
    KDR_11k polycounter lvl 18
    I searched for "der_ton MD5 exporter Blender" (without quotation marks) and the first result was this
  • CheapAlert
    Offline / Send Message
    CheapAlert polycounter lvl 18
    It seems there is a PSK importer, doesn't import skeleton though, but it does import UV maps, complete with vertex weighting iirc
    http://www.elysiun.com/forum/viewtopic.php?t=27897

    And if you really need a skeleton, snag ViewPSK from here. It can open PSK and export skeletal data to a format Blender can read. Granted it's for the older PSK format, but still gets the skeleton dammit. WINE executes it properly, so no excuses.
    http://www.cs.waikato.ac.nz/~masood/teaching/304a/assignments/a2p2/
Sign In or Register to comment.