Blender .m3 Plugin
blendm3 - Blender plugin to work with Blizzard .m3 files
The latest version of this plugin and additional information can be found on this site:
http://code.google.com/p/blendm3/
You should regularly check this website for updates. New features are continuously added. The project aims to fully support the .m3 file format.
Latest Release
0.14 on 2010-09-07
- Works now with Blender from trunk (tested with r31786)
- Can now be used with the Blender add-on installer
- Option to search for texture asserts added
- Much more improved import of material (diffuse, specular, emissive and normal)
- Added import of decal texture layer
- Imports now all UV layers
Acknowledgment
This plugin would not be possible with the tons of information about the .m3 provided by the libm3 project. The project homepage is 'http://code.google.com/p/libm3/' and is a great source for information about the file format. Also a big thank NiNtoxicated who developed a 3DS Max plugin which is also a great source to understand the .m3 file format.
Installation
The following files are included with the distribution of the plugin:
. |-- COPYING Copy of the GPLv2 license. |-- README.TXT Description and installation instruction. `-- import_shape_m3.py The actual plugin.
To install the plugin just copy the file 'import_shape_m3.py' into your blender plugin directory. After restarting Blender the import menu should contain a 'Blizzard M3 (.m3)' entry. The plugin is tested with Blender version 2.53.
Usage
To load textures assure that the 'Assets' directory is in the same directory as your model. After selecting import assure that the 'Create Material' in your file selection window is set.
Loading textures is experimental and does not work correctly on some models. Furthermore, to show the models textured in the preview window you have to manually assign the texture to the models faces.
Screenshots
Importing geometry data:
UV editing:
Awesome!
Awesome plugin for a great 3D Modeling program. While 3dsMax is amazing it's way too expensive for normal people like me to get a hold of, so it's great to have an open source route to editing models for Starcraft 2.
Really looking forward to the export ability of the pluging. You'll probably start seeing a lot of models get uploaded here once that happens. I'm already getting started on a couple of model edits right now (currently removing the sniper rifle from Nova and removing Nova from her sniper rifle).
Thank you for solving the poblem with the installation directory. My focus is currently on importing .m3 file. So before I start writing an exporter I want to fully support importing .m3. At the current status importing geometry and material is supported, however there are sometimes problem with the material, therefore you have to explicitly set the "Create Material" checkbox. If you encounter any problems with loading geometry, please contact me so I can investigate the issue and fix it.
Awesome it works! Thanks Eosos and Demonette!
My only other question is, what can we export the file as so that we can bring it back into the editor and use it? It would seem logical that I would need to either export it as a .m3 file or be able to convert something like a .obj into a .m3. Are there other already supported formats that blender can export by default?
Thanks for any further help! <3
@ Eosos
Works Now!
Found the folder guys! Go to C:/Users/Administrator(or your name)/AppData/Roaming/BlenderFoundation/Blender/2.53/scripts/io That's where you put it. Also make sure that you can see hidden folders. If you can't AppData won't show up.
http:www.blender.org/forum/viewtopic.php?t=14387&sid=70053bc621a9f03944621f40588b59a8
for those who where to lazy to use google....
Hope this helps you.
and now i'm off to test the actual version =D
Hi, ya I had the same issue as Eosos, and I cannot find either a script or plugin folder anywhere in the blender directory. For me, I get all the way down to "C:\Program Files (x86)\Blender Foundation\Blender\2.53\python\lib" before I get a mess of folders, none of which are what I'm lokking for. Would love to try this out, but can't. :(
So with this, it's possible to edit a marine to remove all weapons, and possible arm him with models for new weapons?
I wanna see someone create a marine wielding a Psi Blade... Literally. Or a Ghost unit that uses a Scythe.
same issue
Is this for the 64bit version as well? I can't seem to find the install directory. I get to Blender Foundation\Blender\2.53 but after that mine goes to /python. Anyone else have similar issues? I'm using version 2.53 from here http://www.blender.org/download/get-25-alpha/. Thanks for any help.
Nice work epecially cause i dont have 3d´sMax ill use it. Keep up the good work.
Wow, nice work.
About the installation. You can put the .py file into Blender Foundation\Blender\2.53\scripts\io where Blender Foundation is your installation directory.
Kind confused where to put file i don't have a plug ins folder that i know of so i just put it into the directory but.. that didn't work any suggestions? I'm running vista(x64)
1ST! and much more important, i cant wait to see a stable version, i was thinking about to write a m3 import when i start studing informatic. But god damn , if you can realy make it good working, this would be a N1 job!
please Keep up the good work!