Giter Site home page Giter Site logo

blender-mdl's Issues

Import vertex normals

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.

Import UV coords

Well, the title is a bit missleading. In fact, the UV coords already are imported, but they need to be used in Blender.

Failed to import textures coordinates fully

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:

  1. The model opened in War3 Model Editor.
    untitled
  2. That model imported to Blender (I manually reapplied the textures in Blender (it contains 2 objects I assume)

untitsled

  1. Texture Coordinates:
    tex1
    tex2

Import error (partly?)

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 the Model block

Read (and use) the information contained in the Model block.

Implement a new handler for this.

Mesh errors

I've imported a character 3d mesh and it turned out like this:
untitled

Any suggestions?

Error message when trying to import *.mdl file

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.

BoundsRadius

Create a circle object from the 'BoundsRadius' key. Afaik determines this radius the small circle below a selected unit in WarCraft.

Give objects a proper name

The data gathered from issue #3 should be used to give the imported objects a proper name, e.g. ModelName0 instead of Geoset0.

Possibly import textures

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.

error adding addon

I get the following errors when I try to enable addin on blender 2.68

error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.