Jump to content
The Dark Mod Forums

Maya to Doom3 .md5mesh. Alterations to mesh after binding?


ThePwnicorn

Recommended Posts

Hey guys, I've been working with getting maya files exported as md5's for the doom 3 engine for about a month now. The journey has been (putting it lightly) a waking nightmare from of my most harrowed dreams.

 

In short, I've managed to export using the exportModels command in doom itself with Maya 8.5. While I can get this all working (with animation thankfully), I can't seem to figure out how to go back and reasonably edit the mesh (or even add to it) without causing crashes, bugs, and all manner of problems.

 

To test this, I had made a simple cube which I bound to a skeleton and exported fine. I then went back and added a second cube to the maya scene as a test. Originally it only exported the original cube. I went back and detached the skeleton, did another smooth bind. After exporting to md5 this time around the new cube appeared, but it was not where it was placed in my Maya file. I also noticed that the md5 modelviewer listed an "origin" bone in the scene that wasn't included in my maya file. Eventually I tried deleting the bones altogether and creating new ones and rebinding to the same result. The last attempt at making changes was applying a simple extrude onto one side of the cube and binding it to the joints as well. It wouldn't allow any paint weights until I rebound the entire geometry to the joints AGAIN. This time the model exported to md5, but causes a crash now to modelviewer.

 

I have been following some guidelines listed on these forums posted by GoliathVT:

 

" "skinCluster not found in scene" usually means that the exportmodels command is working properly, but your model/animation has a compatibility problem with Doom3.

 

First, make sure there is an "origin" bone in the skeletal hierarchy and that it's the parent of all other bones. The origin should rest on the ground and should not influence your mesh at all... it's just there so D3 knows where the "ground" is in relation to your model.

 

Second, before binding your bones to your mesh, make sure you've gone through the steps to:

 

1) Polygons -> Triangulate

2) Modify -> Freeze Transformations

3) Delete by Type -> History

 

Then select your origin bone (Maya will automatically select the rest of the hierarchy below the origin bone) and then your mesh and perform a smooth bind."

 

This has been helpful for getting my models to export, but I'm not sure where they tie in once modifications need to be made to the model. Is it possible to tweak models after they have been bound? After they have been exported to md5?

 

With all the love I possess,

 

-ThePwnicorn

Link to comment
Share on other sites

I've exported md5anim files from Maya, but I use Lightwave for exporting md5mesh files, so I can't give you any specific help. There is a tutorial on our wiki on this subject that might offer something.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 5 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
    • nbohr1more

      Trying to be productive on my down-time before Capcom releases Akuma and my son is constantly on my PC playing Street Fighter...
      · 1 reply
    • OrbWeaver

      Finally got round to publishing a tutorial on baking normal maps in Blender, since most of the ones we have are inaccessible or years out of date.
      · 4 replies
×
×
  • Create New...