Giter VIP home page Giter VIP logo

blender-smd's People

Contributors

timbaker avatar

Watchers

 avatar

blender-smd's Issues

Version 0.8 will not import - appears to be a naming issue

I installed version 0.8 of the tools under 2.54, apparently with the bundled 
version of python 3.1. After installing, attempting to enable the module 
resulted in the following error:

ImportError: No module named io_smd_tools-0.8

Occuring on line 1086 of space_userpref.py.

Bunging in a couple of print()s confirmed that the python path was correct. 
Renaming the module to what it used to be called - io_smd_tools - and 
reinstalling - allowed me to enable the module (I now have two entries in 
addons; one which produces the above error and the other which enables 
successfully.)

This is presumably an issue with the "." (or maybe the hyphen) in the module 
name causing __import__ to get unhappy.
I'm guessing this must work for someone else it would already have been found, 
though. My system is Windows 7, 64bit, and I've not tried it on others.

Cheers,
Chris.


Original issue reported on code.google.com by [email protected] on 8 Oct 2010 at 1:17

Problems importing/exporting SMDs

EasyPickins here.
Attached are patched io_smd_tools.py and smd_test_suite.py.
(I didn't want to commit after being away from this project since November.)

The SMD importer didn't work for me. I removed the TidyArmature() call from 
readFrames() because TidyArmature() needs smd.m which hasn't been created yet 
-- readPolys() is called *after* readFrames().  I moved the TidyArmature() call 
into readSMD().

The SMD exporter didn't work for me with a Y-up SMD.  The indentation on 2 
lines in bakeObj() were (accidentally?) changed which broke exporting a Y-up 
SMD.  Armatures do not have a .transform() method.

Original issue reported on code.google.com by [email protected] on 4 Apr 2011 at 1:45

Attachments:

vertex_group error on armature export

What steps will reproduce the problem?
I have no idea. I was exporting a reference mesh only

And what I noticed was, upon a failed export Blender would create copies of the 
armature and the reference mesh labeling it with .002, .003, .004, ...

Original issue reported on code.google.com by [email protected] on 23 Jan 2011 at 8:49

Attachments:

Animation support

Converting Source bones to Blender bones (and vice versa) is proving very 
difficult. The major differences are:

  * Source bones are 1D points with rotation; Blender bones have a head and a tail
  * Source bones point down the Z axis; Blender bones point down the Y axis
  * Source is right-handed; Blender is left-handed

These create several problems:

  * The underlying complexity of turning a global vector into a local rotation. This has a solution that someone with enough understanding of 3D maths will hopefully find one day.
  * Import compatibility. For a model to remain compatible with existing animations it must retain the exact some bone rotation values. This prevents bones from being connected to their parents, as doing so nearly always affects rotation.
  * Axis difference. Either bones tails stick out at right angles (Z up) or we go with Blender and confuse anyone who tries hand-editing animations (Y up). The actual direction that bones face after export isn't a problem, thankfully.

My current theory on the process required for export is:

  # Convert bone vector to euler
  # Convert euler to matrix
  # Multiply euler by inverse parent matrix, write euler
  # Multiply matrix by parent's equivalents
  # Subtract parent head from bone head
  # Multiply location by inverse matrix, write location

And for import:

  # Convert euler to matrix
  # Convert location to matrix
  # Combine matrices
  # Head location = location * parent matrix
  # Tail rotation = location + ([0,0,1] * parent matrix)

Original issue reported on code.google.com by [email protected] on 13 Aug 2010 at 12:49

amature action datablock removed on export

What steps will reproduce the problem?
1. Export multiple actions on one armature.
2. Save project.

What is the expected output? What do you see instead?
I expected it to just export and have no effect on the project

but it ended up removing data-blocks for my armature animations and when I re 
opened my project later all animation information was missing.


What version of the product are you using? On what operating system?
Blender SMD Tools 0.9.1 on blender 2.55 beta 64bit running on Windows 7 64bit

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Nov 2010 at 1:41

Set End Frame on Action change

Would it be possible, that the end frame is automatically changed according to 
the end of the active action?

That would be good for looping animation, when simply browsing through them 
quickly inside of Blender.


Original issue reported on code.google.com by [email protected] on 31 Oct 2010 at 6:14

Shape keys and modifiers are incompatible

This is due to a Blender limitation, which has been refused as a bug. See 
<https://projects.blender.org/tracker/index.php?func=detail&aid=24460&group_id=9
&atid=498>.

While this issue exists the script cannot apply modifiers to shape keys. Users 
must create shapes only on meshes which don't have modifiers that affect the 
shape keyed area (e.g. Mirror).

Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 9:30

bone import has got errors

What steps will reproduce the problem?

1. import test.smd in blender

What is the expected output? What do you see instead?

Expected output, please see attached file mlksh.JPG.
This file was loaded in milkshape 3d. Instead I see blnd.jpg

What version of the product are you using? On what operating system?

blender 2.56 beta
milkshape 3d 1.8.5 beta
io_smd_tools-0111
OS: XP SP3

Please provide any additional information below.

console output:

        bpy.utils.addon_enable io_smd_tools

SMD IMPORTER: now working on test
- This is a mesh
- Imported 200 new bones
Traceback (most recent call last):
  File "C:\DOCUME~1\SVENNI~1\MYDOCU~1\DOWNLO~1\BLENDE~1.56-\2.56\scripts\addons\
io_smd_tools.py", line 1712, in execute
    readSMD(context, self.properties.filepath, self.properties.upAxis, self.prop
erties.connectBones, append=self.properties.append)
  File "C:\DOCUME~1\SVENNI~1\MYDOCU~1\DOWNLO~1\BLENDE~1.56-\2.56\scripts\addons\
io_smd_tools.py", line 1665, in readSMD
    if line == "skeleton\n": readFrames()
  File "C:\DOCUME~1\SVENNI~1\MYDOCU~1\DOWNLO~1\BLENDE~1.56-\2.56\scripts\addons\
io_smd_tools.py", line 807, in readFrames
    applyFrameDataRest(smd.frameData[0])
  File "C:\DOCUME~1\SVENNI~1\MYDOCU~1\DOWNLO~1\BLENDE~1.56-\2.56\scripts\addons\
io_smd_tools.py", line 1053, in applyFrameDataRest
    smd_pos = frameData[boneName]['pos']
KeyError: 'None'


Original issue reported on code.google.com by [email protected] on 23 Jan 2011 at 8:08

invalid literal for int(bpy.app.build_revision) with base 10: '32380M'

What steps will reproduce the problem?
1. Trying to Enable checkbox SMD Tools in Addons

What is the expected output? What do you see instead?
The box will not check

What version of the product are you using? On what operating system?
Blender 2.54 (trunk) rev32380 64bit + patches + contrib & external add-ons + 
API Doc

Please provide any additional information below.

Blender Output:

C:\Users\Julian\Downloads\Release>blender --enable-opencl
found bundled python: C:\Users\Julian\DOWNLO~1\Release\2.54\python
        bpy.utils.addon_enable space_view3d_property_chart
        bpy.utils.addon_disable space_view3d_property_chart
Traceback (most recent call last):
  File "C:\Users\Julian\DOWNLO~1\Release\2.54\scripts\modules\bpy\utils.py", line 398, in addon_enable
    mod = __import__(module_name)
  File "C:\Users\Julian\DOWNLO~1\Release\2.54\scripts\addons\io_smd_tools.py", line 1308, in <module>
    class SmdImporter(bpy.types.Operator):
  File "C:\Users\Julian\DOWNLO~1\Release\2.54\scripts\addons\io_smd_tools.py", line 1316, in SmdImporter
    if bpy.app.build_revision != 'unknown' and int(bpy.app.build_revision) >= 32095:
ValueError: invalid literal for int() with base 10: '32380M'

Original issue reported on code.google.com by [email protected] on 9 Oct 2010 at 12:21

smd skeleton imported wrongly

What steps will reproduce the problem?

1. import smd file (e. g. zoey_reference_wrinkle.dmx.smd)

What is the expected output? What do you see instead?

- the attached file b255smd100.png shows the import using blender 2.55 and the 
smd importer 0.10.0. The results are ok and expected
- the attached file b256smd103.png shows the import using blender 2.56 and the 
smd importer 0.10.3. The results are not ok

What version of the product are you using? On what operating system?

- blender 2.55 beta and smd import tool 0.10.0
- blender 2.56 beta and smd import tool 0.10.3
- OS: Win XP SP 3

Please provide any additional information below.

see attached files

Original issue reported on code.google.com by [email protected] on 6 Jan 2011 at 8:34

DMX support

Valve's new DMX format, a replacement for SMD, cannot currently be parsed. 
Adding support depends on Valve releasing source code.

Original issue reported on code.google.com by [email protected] on 30 Oct 2010 at 9:19

"Current / NLA" causes problems

-Selected Armature; Armature Tab, SMD Export Panel: Having the Action Selection 
set to "Current / NLA" (which is the default option) results in the action 
export disappearing in both the scenes and armature panel. Maybe this is 
wanted, however it is confusing.
 BUG WITH THIS: When "Current / NLA" is selected and then a mesh is selected a few buttons on the Scene Tab under Scene Configuration are missing such as the automated compile and the SMD information removal...

Original issue reported on code.google.com by [email protected] on 24 Jan 2011 at 10:51

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.