KatsBits

  • May 21, 2013, 05:48:31 pm *
  • Welcome, Guest
Advanced search  

Author Topic: [MD5] EXPORT script for Blender 2.6x (OPEN)  (Read 27716 times)

0 Members and 1 Guest are viewing this topic.

Online kat

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
  • Karma: 10
    • KatsBits
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #105 on: March 10, 2012, 10:39:46 am »
The scripts don't work with 2.62 at present so your animations are going to be messing up due to changes inside Blender that's causing the bone rotations/positions differences on export. You'll need to go back to 2.61 for now until the scripts are fixed (I don't know when that might be).

Offline xt_hydra

  • Newbie
  • Posts: 3
  • Karma: 0
MD5 exporter
« Reply #106 on: May 06, 2012, 05:08:49 am »
ive been trying to make the exporter work.. like for example that i dont select anything within my scene it start saying no armature so i select it.. then it say no mesh then i select it then after it say no material.. but where the hell do i need to click to get the material??? well at least from my experience with blender theres no such way to select it within the scene manager from top right default interface.. so.. whats up guys.. im using linux 64 bit on linux mint AKA ubuntu oneric

Online kat

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
  • Karma: 10
    • KatsBits
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #107 on: May 06, 2012, 01:38:50 pm »
What version of Blender are you using? I've not had a chance to test any of the scripts with 2.63 so that may be an issue.

But to address your problem, you need to select the objects to be exported, mesh first then Armature last (the Armature needs to be the lighter colour indicating it's the 'active' object). The Object must have a material, texture and UVW map, you can't export an 'empty' mesh. Read the "how to export MD5" for some basic info, essentially though the model needs to be properly prepped.

Offline ge5

  • Newbie
  • Posts: 3
  • Karma: 0
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #108 on: May 13, 2012, 08:36:20 pm »
I am using the 'official' 2.61 build of Blender and followed all your instructions on these threads re .MD5 with the proper exporter, proper 'prepping',etc. --PLEASE see URL below-- i need a 'still' model for use with a kinect camera,actionscript, etc. i have narrowed down the problem to this: the model only loads correctly if both the mesh + the anim files are loaded. unfortunately, all the code i am using calls for just the mesh file, and it loads in totally distorted! (see the accompanying pix/the super skinny figure is the INCORRECT mesh only)--any ideas or tips or suggestions? i've been messing with this for days...thanks
http://geraldineerman.com/md5.jpg

Online kat

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
  • Karma: 10
    • KatsBits
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #109 on: May 13, 2012, 09:35:28 pm »
I don't think you can use MD5 like, you need both the md5mesh and md5anim for it to work otherwise you might as well be using an OBJ. The md5anim file 'locks' the mesh structure to a pose so without one it does what yours is doing (as there's nothing to bind the mesh relative to the default idle pose). You need to export out an idle pose (single frame) which should then allow you to do that you need.

Offline nemyax

  • Newbie
  • Posts: 28
  • Karma: 0
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #110 on: May 15, 2012, 11:07:44 pm »
I don't think you can use MD5 like, you need both the md5mesh and md5anim for it to work
Barring bugs, an MD5 mesh should look fine on its own. However, an MD5 animation can sometimes look right despite a screwed-up underlying mesh. I saw this happen when writing an exporter.

Online kat

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
  • Karma: 10
    • KatsBits
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #111 on: May 15, 2012, 11:56:24 pm »
That's what I couldn't figure out, md5meshes load into the MD5 viewer without issue (using a 'bindpose' of sorts), so any deviation from that means something else is causing the problem - most of the issues I've encountered usually result from a missing or 'broken' md5anim because both were being used.

P.S. for clarity I should have said "*may* need to".

Offline robertzoone

  • Newbie
  • Posts: 5
  • Karma: 0
Blender 2.62 + MD5 export problem
« Reply #112 on: June 18, 2012, 12:29:01 am »
Hello

I have a problem when try to export MD5 on Blender 2.62

System: Mac OSX 10.7
My Blender version is: 2.62
MD5 export from here: For Blender 2.57 (OK for 2.60, 2.61, 2.62) http://www.katsbits.com/smforum/index.php?topic=167.0

For export first I type A for select Mesh and go to export. Configuration is: scale 1.0
Exports: Mesh only

And I got this error:



Uploaded with ImageShack.us

For example I download Blender 2.63 and new export module.
When I want something to export and save the file, nothing happens. File can not be save or not showing any error.

Online kat

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
  • Karma: 10
    • KatsBits
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #113 on: June 18, 2012, 02:26:44 am »
Yes that happens when you try to export an MD5 that doesn't have an Armature and/or animation, even if you only want the *.m5dmesh (using the exporter you linked to that is).

To 'fix' the issue you'll need to add a basic (one or two bones) Armature to the scene and give it a one frame Action. Once you do that select the mesh first, the armature last and then export - select "Mesh Only" from the export options bottom-left.

PS. I merged your topic into the main thread to keep all the MD5 troubleshooting in the one place.

Offline nemyax

  • Newbie
  • Posts: 28
  • Karma: 0
Re: Blender 2.62 + MD5 export problem
« Reply #114 on: June 18, 2012, 04:02:25 pm »
For example I download Blender 2.63 and new export module.
When I want something to export and save the file, nothing happens. File can not be save or not showing any error.
Do you mean this exporter?
http://www.katsbits.com/smforum/index.php?topic=404.0
There's a readme file in the .zip that explains how to use the export.

Offline motorsep

  • Jr. Member
  • *
  • Posts: 70
  • Karma: 1
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #115 on: July 28, 2012, 05:58:31 pm »
Ok, I took upon myself to fix MD5 exporter that works with Blender 2.61 and get it working with Blender 2.62. Here is what I got: http://blenderartists.org/forum/showthread.php?262020-Need-help-fixing-MD5-exporter&p=2171984#post2171984

Turned out that Blender 2.62 had change of heart about how matrices are handled. So I did my best, but now I am stuck. If someone can finish what i started, we all can have Blender 2.62 exporting MD5's. Thanks.

Online kat

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
  • Karma: 10
    • KatsBits
[MD5] EXPORT for Blender 2.62 & 2.63
« Reply #116 on: July 31, 2012, 08:13:03 am »
Thanks to motorsep (special thanks to MCampagnini) the MD5 export scripts now work with Blender 2.62 and 2.63. Note: each script work with it's respective version of Blender so double-check correct pairing before use (most issues arise from using the wrong version of Blender). For local download of MD5 scripts see first post. More information and usage instructions can be found by clicking here.

Offline motorsep

  • Jr. Member
  • *
  • Posts: 70
  • Karma: 1
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #117 on: July 31, 2012, 08:18:49 am »
@kat: I added minor fixes (mostly to how they appear in the Export menu)  and removed warning from the scripts. Added description of the workflow and a video depicting it :P

It's all on BlenderArtists thread


Online kat

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
  • Karma: 10
    • KatsBits
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #118 on: July 31, 2012, 08:50:12 am »
Yep I grabbed the versions you posted to PasteAll after you made the initial edits ;)

I added the GPL block to the versions available on KatsBits tools page for clarity with respect to usage (and copyright malarkey) and updated the "Report a Bug" link so it comes straight here when users click the button in Blender (rather than going to the home page as it was doing). Two minors but things that needed to be addressed.

Cheers for the hard work you put in to getting these fixed up to run motorsep, it now means there is an alternative route open to content creators making their own games using the later versions of Blender *thumbsup*. I watched the vid, heh.

Offline motorsep

  • Jr. Member
  • *
  • Posts: 70
  • Karma: 1
Re: [MD5] EXPORT for Blender 2.6x (OPEN)
« Reply #119 on: July 31, 2012, 04:29:39 pm »
No problem. Cool stuff! Hope people will use it :D