cruzr / blender-mdl Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Implement a new handler for this.
The data gathered from #4 should be use to correctly setup the materials in Blender.
The vertex normals already are imported, but they aren't used yet. I'll have to experiment with Blender's API to find out how to set the normals manually.
Well, the title is a bit missleading. In fact, the UV coords already are imported, but they need to be used in Blender.
Hi everyone. I used a tool to convert WC3's .MDX to .MDL:
http://www.hiveworkshop.com/forums/tools-560/mdlx-converter-62991/
The textures is wrong (Please see the attachments)
I also tried to install the warblender addon but I failed many times.
I don't know why. I followed the instructions here:
https://gitorious.org/wc3lib/warblender/source/40339571c14ff1c047b9121b5fd0094341158dde:INSTALL
Could someone please help me to import WC3 models to blender?
I just need the mesh and textures.
Thank you.
Attachment:
Warcraft 3 models load, but with this error:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.63\s
cripts\addons\WarMDLImport.py", line 324, in execute
return di.run(self.filepath, context)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.63\s
cripts\addons\WarMDLImport.py", line 290, in run
texface.uv1 = (self.mgr.tvertices[i][face[0]][0], 1 - self.mgr.tvertices[i][
face[0]][1])
AttributeError: 'MeshTexturePoly' object has no attribute 'uv1'
Read (and use) the information contained in the Model block.
Implement a new handler for this.
I Installed the addon using "Install addon" button on the "User Preferences" window, then opened the *.py file for "Blender-MDL"
I enabled the addon on the "Addons" tab in the User Preferences Window. Now it shows the option "File>Import>WarCraft MDL (.mdl)"
I tried it using file "twilightsparkle.mdl" from "Garry's Mod" downloaded from http://www.equestriadaily.com/2011/07/garys-mod-ponies.html
But got Error output and I got nothing (no vertices, no faces) imported on my scene:
http://gato303co.deviantart.com/art/Blender-Screen-Capture-19-06-2012-309355495
What am I doing wrong? Is there something missing on my Blender installation?
Thanks for your attention
P.S. my laptop config:
Dell Inspiron 15R N5110, intel core i7, 8GB RAM DDR3, Intel HD Graphics, HD 640GB, Linux Xubuntu 12.04 64bits.
Create a circle object from the 'BoundsRadius' key. Afaik determines this radius the small circle below a selected unit in WarCraft.
The data gathered from issue #3 should be used to give the imported objects a proper name, e.g. ModelName0 instead of Geoset0.
The script probably should search the model file's directory for the textures referenced by the MDL, but in a formate known by Blender (e.g. texture.png instead of texture.blp). If there is such a texture file, the script should import it and load it into the correct materials.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.