linux md3 exporter/importer ?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
gabdab
Posts: 7
Joined: Wed Jan 11, 2006 11:39 pm

linux md3 exporter/importer ?

Post by gabdab »

Hello,
I am looking for a way to convert 3ds or whatever blender can export to md3 files ( blender md3 exporter doesn't work for me ).
Is ther eany way to do that ?
Since now I found freyja and aztec modellers to be promising in that sense , but I didn't accomplish to build them on Debian stable ( i386).
Any help appreciated.

Gab-
Kat
Posts: 952
Joined: Tue Nov 14, 2000 8:00 am

Post by Kat »

Are you trying to create static objects or animated for Q3?

You're out of luck unless you want to *buy* a 3D app that'll run on Linux, as it is Blender is pretty much all there is (and yes the MD3 exporter is imcomplete anyway so even if you did get it to run it'd basically only export the mesh data).
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Post by obsidian »

If static objects, use ASE or any of the other Q3Map2 supported model formats.

Otherwise, if doing animated playermodels or weaponmodels you could do what Id Software did, which is export to ASE, then use Q3Data.exe to convert ASE to MD3. Not easy, but still works.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
CheapAlert
Posts: 448
Joined: Tue Mar 19, 2002 8:00 am

Post by CheapAlert »

tr3b's md3 exporter can export tags now !1!!!! WITH ANIMATION !!!11
http://www.planetgargoyle.com/openarena/oatags.avi
I LOVE IT
Leader and director of the [url=http://cheapy.deathmask.net]OpenArena[/url] project which is a free software version of q3a designed for hobo fagts
gabdab
Posts: 7
Joined: Wed Jan 11, 2006 11:39 pm

re:

Post by gabdab »

tr3b's md3 exporter can export tags now !1!!!! WITH ANIMATION !!!11
where do I find that?
Is it for Blender ?

I ll check more into that if q3data works with ase not only from max.
I was wondering if ASE files exported like from blender can be converted if I maybe name the parts right and such.
I tried doing that (blender(ASE) to q3data ) but it sayd something like -lacking animations-..
Should I keep trying ?

Thanks,
Gab-
Kat
Posts: 952
Joined: Tue Nov 14, 2000 8:00 am

Post by Kat »

Blenders ASE exporter doesn't support animations ans that's not primarily what that forat is for; that's most likely why that error crops up. But, you should still be able to convert to MD3 becasue that format covers both static and animated model. Check you've not missed some cvar from the command path.
[url=https://www.katsbits.com/tutorials#q3w]Tutorials, tools and resources[/url]
gabdab
Posts: 7
Joined: Wed Jan 11, 2006 11:39 pm

Post by gabdab »

Actually I used q3data with wine on Debian , I am still trying to figure out if there is a working linux version of it.
Btw it exited with what looks like a normal operation error ..
I didn't find manuals as for q3data so I ll try to figure out what the cvars could be as for static md3.
I am mainly interested in animated models though .

Ase animations export would be too much on linux I guess .

Gab-
CheapAlert
Posts: 448
Joined: Tue Mar 19, 2002 8:00 am

Re: re:

Post by CheapAlert »

gabdab wrote:
tr3b's md3 exporter can export tags now !1!!!! WITH ANIMATION !!!11
where do I find that?
Is it for Blender ?
yes

http://cvs.sourceforge.net/viewcvs.py/x ... l/blender/

it's best used when ran through blender's text editor rather than the export menu
Leader and director of the [url=http://cheapy.deathmask.net]OpenArena[/url] project which is a free software version of q3a designed for hobo fagts
gabdab
Posts: 7
Joined: Wed Jan 11, 2006 11:39 pm

re

Post by gabdab »

Didn't work too well for me.
But I think blender works better as for modelling than converting.
Maybe there is a need of free exporters working under linux.

Thanks,
Gab-
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Post by obsidian »

Let's see if I can remember how Q3Data works...

First of all, you need to create a QDT file. You can see an example file used by Id Software for Q3 here:

http://members.lycos.co.uk/quakeroats/d ... q3data.qdt

The QDT file contains a list of all the file path and model files that you want to convert as well as some switches required to identify the model as a player/weapon model, player dimensions, origin, etc.

For static models all you need is something like this:
$aseconvert models/mapobjects/palm3/palm3.ase

Then you need to create a batch file to execute Q3Data.exe as well as your QDT file. The batch parameters are as follows (for Windows, not sure how it works exactly in Linux - probably similar but with "/" slashes?):
[path\to\q3data\]q3data.exe [path\to\qdtfile]mymodel.qdt >mylogfile.log
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
gabdab
Posts: 7
Joined: Wed Jan 11, 2006 11:39 pm

re

Post by gabdab »

Thx guys u provide a lot of help.
I'm checking the stuff once again.
As for q3data I wish there was a easy way to export ase animated models on Linux since it works so well on wine.
Thx for the link 'obsidian'.
I'll try that on windoze as soon as I put my hands on it.

Thx,
Gab-
Zapata
Posts: 1
Joined: Fri Feb 23, 2007 10:06 pm

Post by Zapata »

Hello, I have the same problem that you and I have found a nice program named Misfit 3D, it runs well in Debian Stable, the SO that I use.

The downloadble development version, allow you to load .MD3 files (animate and static), and if the model is animate you can to play the animations, also load the points of the model, this points for example are used to place the weapon in the character's hand.

With Misfit you can make a skeleton, and to convert the skeletal animation in keyframe animation.

The problem is that the version don't allow you save the files yet, but in next release perhaps the MD3 support will be stable.
Post Reply