[2.8 BETA] Blender MD3 exporter rewrite

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
CBM
Posts: 373
Joined: Wed Oct 09, 2019 3:39 am
Graphics Processor: nVidia with Vulkan support
Location: The Shores of Hell

Re: [BETA] Blender MD3 exporter rewrite

Post by CBM »

I just downloaded the bleeding edge from https://github.com/nashmuhandes/io_export_gzdoom_md3/

I'm using Blender v.2.82 but get this screen:

Image

and no matter how many times I restart blender, I get no new options for importing or exporting

Image

what am I doing wrong?

newest blender version is 2.9

do I need an older version?

I have another PC with v.2.77 installed because it has a plugin installed (does not support animations in mdx files) that requires that particular version

Image

I do notice something different though, if I try to install the warcraft 3 plugin meant for v.2.77 in to v.2.82, then blender does not complain but the warcraft 3 plugin is not shown at all in the list of plugins... so whatever is wrong with the gzdoom plugin, it must be something different


I eventually gave up but since it seems that nashs plugin is not dead then I hope you guys can help me. I hope to be able to help expand the functionality of the plugin at some point
User avatar
axredneck
Posts: 408
Joined: Mon Dec 11, 2017 2:09 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch
Graphics Processor: nVidia with Vulkan support
Location: Russia

Re: [BETA] Blender MD3 exporter rewrite

Post by axredneck »

@CBM, Blenders 2.7x and 2.8x+ have slightly different APIs
User avatar
CBM
Posts: 373
Joined: Wed Oct 09, 2019 3:39 am
Graphics Processor: nVidia with Vulkan support
Location: The Shores of Hell

Re: [BETA] Blender MD3 exporter rewrite

Post by CBM »

axredneck wrote:@CBM, Blenders 2.7x and 2.8x+ have slightly different APIs
thanks and yes... that explains why the warcraft 3 mdx plugin only works in 2.7

But I was fully aware of that...

what I wanted to know was...

why the GZDoom MD3 export plugin does not work in either 2.7, 2.8 OR 2.9 ?

especially when the plugin seems to not show up in the export menu but still INSTALLS and make the plugin LIST in v.2.8

but claim it needs v.2.8 in the plugin list (please refer to my screenshots)

I should have ... according to the INSTALLED GZDoom plugin... an option in file>export called GZDoom model (.md3)

...but I don't

:?:

EDIT ... UPDATE

it DOES actually work in version 2.7.. (if using the automatic install feature) Imagine that...

Image
Talon1024
 
 
Posts: 376
Joined: Mon Jun 27, 2016 7:26 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [BETA] Blender MD3 exporter rewrite

Post by Talon1024 »

The current version of this plugin is made to work with Blender 2.7x. It won't work with Blender 2.8x or 2.9x due to significant differences between the Blender 2.7x and 2.8/2.9x Python APIs.

Regarding automatic generation of MODELDEF/DECORATE code... I suppose I could try to do it, but you would most likely have to edit the MODELDEF/DECORATE code yourself afterwards.
User avatar
CBM
Posts: 373
Joined: Wed Oct 09, 2019 3:39 am
Graphics Processor: nVidia with Vulkan support
Location: The Shores of Hell

Re: [BETA] Blender MD3 exporter rewrite

Post by CBM »

ok but it might still make the process quicker for modders
Talon1024
 
 
Posts: 376
Joined: Mon Jun 27, 2016 7:26 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [BETA] Blender MD3 exporter rewrite

Post by Talon1024 »

I just made some commits to the exporter repo, which should allow it to write basic Modeldef and ZScript files along with the MD3 file. If you make the exporter generate a Modeldef or ZScript file, the Modeldef and ZScript files will be in the same folder as the exported MD3 file.
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: [BETA] Blender MD3 exporter rewrite

Post by Logan MTM »

How to install in Blender 2.83?
User avatar
Nash
 
 
Posts: 17481
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [BETA] Blender MD3 exporter rewrite

Post by Nash »

Talon1024 wrote:It's currently for Blender 2.79x
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: [BETA] Blender MD3 exporter rewrite

Post by Logan MTM »

Nash wrote:
Talon1024 wrote:It's currently for Blender 2.79x
Great :(
blakecasimir
Posts: 18
Joined: Fri Mar 18, 2016 9:11 pm

Re: [BETA] Blender MD3 exporter rewrite

Post by blakecasimir »

Frustrating that this still isn't updated for newer Blender versions, but for now I export from Blender to OBJ or FBX, import into Noesis and then export from there to MD3. I have have success with this workflow, fiddly though it is.
User avatar
axredneck
Posts: 408
Joined: Mon Dec 11, 2017 2:09 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch
Graphics Processor: nVidia with Vulkan support
Location: Russia

Re: [BETA] Blender MD3 exporter rewrite

Post by axredneck »

blakecasimir wrote:... but for now I export from Blender to OBJ or FBX, import into Noesis and then export from there to MD3. I have have success with this workflow, fiddly though it is.
Doesn't work for me for animated models
Talon1024
 
 
Posts: 376
Joined: Mon Jun 27, 2016 7:26 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [BETA] Blender MD3 exporter rewrite

Post by Talon1024 »

I've been working on updating this plugin for Blender 2.8x/2.9x. You can find the code on the new neo_blender branch on the repository linked in the first post.
xnorbie
Posts: 2
Joined: Fri Apr 16, 2021 9:29 am

Re: [BETA] Blender MD3 exporter rewrite

Post by xnorbie »

Talon1024 wrote:I've been working on updating this plugin for Blender 2.8x/2.9x. You can find the code on the new neo_blender branch on the repository linked in the first post.
Awesome! Thanks you a lot!
But if I understand correctly this is the only export plugin, right? Do you have the import plugin for Blender 2.8/2.9 too?
Last edited by xnorbie on Fri Apr 16, 2021 5:33 pm, edited 1 time in total.
xnorbie
Posts: 2
Joined: Fri Apr 16, 2021 9:29 am

Re: [2.8 BETA] Blender MD3 exporter rewrite

Post by xnorbie »

I found this one and it's working too as import and export plugin for Blender 2.9. Maybe it can be helpful for someone too. :)
https://mino-git.github.io/rtcw-wet-ble ... guide.html

Return to “Creation, Conversion, and Editing”