OpenArena Message Boards

OpenArena Contributions => Graphics => Topic started by: iLeft.bye on May 19, 2007, 03:59:31 PM



Title: md3 importer
Post by: iLeft.bye on May 19, 2007, 03:59:31 PM
I made a python md3 importer for blender
you can get it from https://tremx.svn.sourceforge.net/svnroot/tremx/trunk/blender/
more or less the same as xreal one but better importing
(and maybe some little change on the exporter. dont remember if I did the change before of after)
(-formerly known as vcxzet )
edit:
optimized alot with the help of ideasman
probably, this will be included in the next blender release
you need python 2.5 for blender 2.44 ( they removed pythonXX.zip :( )
you dont need anything for blender 2.43


Title: Re: md3 importer
Post by: dmn_clown on May 20, 2007, 07:01:06 AM
How is it at importing animations?  (Too lazy to try it out).


Title: Re: md3 importer
Post by: iLeft.bye on May 20, 2007, 07:40:21 AM
so far it works perfect
btw I updated it. you dont need to install python


Title: Re: md3 importer
Post by: dmn_clown on May 20, 2007, 10:42:08 AM
Hmm... you should consider adding the ability to import an entire character model at once (head, upper, and lower) as long as they are in the same directory.  It is one of the features that makes Misfit Model 3D's md3 support the best in the "free" world.


Title: Re: md3 importer
Post by: fromhell on May 20, 2007, 12:20:06 PM
Still doesn't work in 2.44 (no module named "os")


Title: Re: md3 importer
Post by: baronofhell on January 21, 2008, 12:45:33 PM
I have an md3 file of a tree, how do I use it in OA?

Thanks!


Title: Re: md3 importer
Post by: iLeft.bye on January 21, 2008, 06:59:00 PM
depends: you want a tree weapon or a tree in your map

using md3 in a map is easy just use gtkradiant


Title: Re: md3 importer
Post by: w1zrd on January 21, 2008, 09:38:48 PM
I made a python md3 importer for blender
Really nice work..


Title: Re: md3 importer
Post by: baronofhell on January 22, 2008, 11:55:29 AM
depends: you want a tree weapon or a tree in your map

using md3 in a map is easy just use gtkradiant

I need a tree, not a weapon.

I use gtkradiant 1.5, how do I add it to my map?

Thanks!


Title: Re: md3 importer
Post by: dmn_clown on January 22, 2008, 03:55:40 PM
misc > misc_model


Title: Re: md3 importer
Post by: baronofhell on January 23, 2008, 08:47:02 AM
misc > misc_model

I tried that but gtkradiant just hangs and I have to end it from the task manager, does it mean the md3 might be too complex?


Title: Re: md3 importer
Post by: dmn_clown on January 23, 2008, 10:15:58 AM
Is the model in your ~/.openarena/baseoa/models/ directory?


Title: Re: md3 importer
Post by: baronofhell on January 23, 2008, 12:51:04 PM
Yes it is.


Title: Re: md3 importer
Post by: dmn_clown on January 25, 2008, 11:49:48 AM
Does the model exceed the md3 limits?  If not I don't see why it would hang radiant...

Quote
The MD3_PATH+file name cannot be longer than 63 characters.  (Textures and model names)
The group name and point name cannot be longer than 63 characters.
Maximum of 1024 animation frames
Maximum of 16 Points (Quake 3 Tags)
Maximum of 32 Groups
Maximum of 256 Textures per Group
Maximum of 8192 Triangles per Group
Maximum of 4096 Verticies per Group