Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Thu May 23, 2013 3:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 201 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next
Author Message
 Post subject: Blender 2.49+/- Blender2md5 exporter 0.94 2006-02-09
PostPosted: Mon Nov 24, 2003 6:36 pm 
Offline
Plasma Spammer
User avatar

Joined: Fri Jun 27, 2003 11:24 pm
Posts: 2712
Location: Munich, Germany
===========================================
IMPORTANT:
This script is for Blender 2.49 or below ONLY.
It does not work with the latest version of Blender.

Blender 2.5 series
For usage info & download see the following link
http://www.katsbits.com/smforum/index.php?topic=167.0
===========================================



ORIGINAL POST
edit: For info on the latest release, look at my post on page 4 of this thread.
viewtopic.php?p=130466#130466
The latest version can be found here:
http://home.mnet-online.de/der/blender2md5.rar

Outdated info:
----------------
It has been completed a while ago, but BNA was away and couldn´t upload it. Thanks to him for uploading it so soon after his return!

Read the readme (duh), and read the other details that I included in the script itself (the header of the script is its own readme, kind of). The script does NOT work with Blender2.30. Blender2.30 was announced as a "preview" version for the 2.3x gui features, and it apparently is exactly that, a preview (get what I mean?). Just stick to 2.28a or 2.28c until they release a proper 2.3x.

Things to come: a new version of my md5viewer (300% speed gain :twisted:, more accurate lighting, especially on low-end cards), including an animated md5 character ("Bob", made by Kat, look at the WIP forum here). Animation was done in Blender, using this script to export to md5. :D


Last edited by der_ton on Mon Feb 13, 2006 11:59 am, edited 7 times in total.

Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Nov 24, 2003 7:38 pm 
Offline
Site Admin
User avatar

Joined: Tue May 28, 2002 6:17 pm
Posts: 11027
Location: Munich / Germany
Hey - my pleasure to click the upload button while you're doing all the awsome work!

Thanks to you man!!!

_________________
Image Staff - The Wörld is Yours
Our iOS Apps


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 24, 2003 10:06 pm 
Offline
has joined the game

Joined: Wed Nov 06, 2002 9:44 am
Posts: 32
:D Wow! That's really a big step forward to be able to use freeware for Doom3 animations. I think I will stay at Maya nevertheless, but it's good to know that this is possible now.

Would be cool if you could also write an exporter for 3DSMax Animation. There is already one that exports ASE to md5mesh, but until now you can't export the animations.

Good work!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 25, 2003 1:21 am 
Offline
Plasma Spammer
User avatar

Joined: Fri Jun 27, 2003 11:24 pm
Posts: 2712
Location: Munich, Germany
Ok, some "requirements" for that script:

As I mentioned, use Blender2.28a or 2.28c

Then, in order to execute complicated python scripts in Blender, you have to install Python. Download Python2.2.3 here:
http://www.python.org/ftp/python/2.2.3/Python-2.2.3.exe (7 MB)

There are newer versions of Python, but this version is the one that works with Blender2.28. That should be the first step.

Then the next step is to update your system variables. You need a new system variable called PYTHONPATH, and it must be set to something like this:
C:\Python22\lib;C:\Python22\;C:\Python22\DLLs;C:\Python22\tcl;C:\Python22\libs\

Ofcourse that´s if you installed Python to C:\Python22

If you don´t know how to set that PYTHONPATH system variable, read more information:
http://www.elysiun.com/forum/viewtopic.php?t=7723


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Dec 15, 2003 9:11 pm 
Offline
has joined the game

Joined: Mon Dec 01, 2003 9:35 pm
Posts: 34
I just got python working, and I am wanting to try out this script. But when I press alt p I get an error. In the, How to use, part you said something about typing, meta alt p ? where do you type meta?


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Dec 15, 2003 9:22 pm 
Offline
"...mostly harmless?!"
User avatar

Joined: Fri Nov 09, 2001 12:00 am
Posts: 5139
Location: UK
what's the error (check both the DOSprompt box sitting behind the main app window and Blender highlighted text)

What Blender and Python vs you running?

_________________
Modeling and modding tutorials and tips


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Dec 15, 2003 9:27 pm 
Offline
has joined the game

Joined: Mon Dec 01, 2003 9:35 pm
Posts: 34
I'm on osx so there is no console. But the error says: ERROR: Python script error, check console. ?????


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Dec 16, 2003 12:49 am 
Offline
"...mostly harmless?!"
User avatar

Joined: Fri Nov 09, 2001 12:00 am
Posts: 5139
Location: UK
I've not got Blender open atm but you should have the script open in the Blender script/text viewport? What normally happens is the error message pops up and when you 'ok' that it goes to and highlights the offending bit of the script... I don't have Mac so don't know if you actually get the same thing happening with errors.

_________________
Modeling and modding tutorials and tips


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Dec 16, 2003 1:21 am 
Offline
has joined the game

Joined: Mon Dec 01, 2003 9:35 pm
Posts: 34
Ok when I try to start the script, and get the error, it highlights: buffer = buffer + meshes[0] . to_md5mesh()


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Dec 16, 2003 1:26 am 
Offline
has joined the game

Joined: Mon Dec 01, 2003 9:35 pm
Posts: 34
I just relized I didn't have 2.28a or 2.28c, but I got 2.28a and now it highlights: anim = ANIMATIONS . values() [0]


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Dec 16, 2003 2:30 am 
Offline
"...mostly harmless?!"
User avatar

Joined: Fri Nov 09, 2001 12:00 am
Posts: 5139
Location: UK
ah right.. I think that's come up before.. do a search using the error term and see what pops up.. der_ton said someting specific to it iirc... something about the mesh you're exporting not having any animation assigned to it

_________________
Modeling and modding tutorials and tips


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Dec 23, 2003 8:08 pm 
Offline
Plasma Spammer
User avatar

Joined: Fri Jun 27, 2003 11:24 pm
Posts: 2712
Location: Munich, Germany
shadowdragon wrote:
I just relized I didn't have 2.28a or 2.28c, but I got 2.28a and now it highlights: anim = ANIMATIONS . values() [0]


You could also post the exact error message that is printed on Blender´s console (the dos window that comes up with blender).


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Dec 23, 2003 8:09 pm 
Offline
has joined the game

Joined: Mon Dec 01, 2003 9:35 pm
Posts: 34
I think I have already mentioned that I'm on OSX so there is no console.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Dec 24, 2003 10:12 am 
Offline
Plasma Spammer
User avatar

Joined: Fri Jun 27, 2003 11:24 pm
Posts: 2712
Location: Munich, Germany
Ooops, sorry... :oops:
Well is your model animated? You don´t have to do a whole animation, just define two different keyframes for at least one bone

(with the skeleton selected, go to "pose mode", select a bone and press I ('insert keyframe'), select "LocRot" for the requested type of keyframe. That sets the first keyframe. Then move the framecounter to a different frame, and then set another keyframe there.)


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Dec 24, 2003 10:44 pm 
Offline
has joined the game

Joined: Mon Dec 01, 2003 9:35 pm
Posts: 34
Oh does the model have to be rigged and animated partialy for the script to work?


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Fri Dec 26, 2003 8:28 pm 
Offline
Plasma Spammer
User avatar

Joined: Fri Jun 27, 2003 11:24 pm
Posts: 2712
Location: Munich, Germany
shadowdragon wrote:
Oh does the model have to be rigged and animated partialy for the script to work?


Yep, sorry... I´ll update the script soon and that´ll be fixed then, too. In the meantime, give me as much feedback as possible so that the next version is as usable as possible. :)


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Feb 14, 2004 4:47 am 
Offline
has joined the game

Joined: Mon Dec 01, 2003 9:35 pm
Posts: 34
Hey I just got my linux box up and running :D It's totaly awesome, and python and blender 2.32 work flawlessly. So as soon as my brrother will give me the linux, I'm gonna try out the scripts again, see if they work :D


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Feb 14, 2004 1:22 pm 
Offline
Plasma Spammer
User avatar

Joined: Fri Jun 27, 2003 11:24 pm
Posts: 2712
Location: Munich, Germany
I can already tell you that it´s not gonna work with Blender 2.3x, because they f***ed up some stuff in the Python API. But I´ll write a workaround soon.

In the meantime, you could try it on Linux with Blender 2.28, would be nice to know if that works. :)

_________________
Image Staff
Modelviewer | 3DSMax<->MD5 | Blender<->MD5


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Feb 14, 2004 2:51 pm 
Offline
has joined the game

Joined: Mon Dec 01, 2003 9:35 pm
Posts: 34
Ok yea I'll try 2.28 as 2.32 sure didn't work :(


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Thu Mar 04, 2004 3:20 pm 
Offline
Plasma Spammer
User avatar

Joined: Fri Jun 27, 2003 11:24 pm
Posts: 2712
Location: Munich, Germany
There´s a new version,

http://www.doom3world.org/doom3/der_ton/blender2md5.zip

It can export camera animations, and it has a GUI! :)
Userfriendlyness should have improved a bit.
And it works on Blenders from 2.28 until the newest, 2.32. :)
As always, I´m interested in any feedback. But especially from the Mac and Linux users, as I can´t test it there myself.

_________________
Image Staff
Modelviewer | 3DSMax<->MD5 | Blender<->MD5


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 201 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group