Game Development Community

...

by Redacted · in Artist Corner · 12/25/2005 (11:08 am) · 66 replies

...

About the author

Recent Threads

  • ...
  • ...
  • ...
  • ...
  • ...
  • #41
    01/07/2006 (5:11 am)
    Keep it up Joseph, you are a star :)
    #42
    01/09/2006 (1:24 am)
    Thanks Joseph and others for working on this project. great stuff.
    #43
    01/10/2006 (8:51 pm)
    Sweet. Nice work Joseph.
    #44
    01/10/2006 (11:01 pm)
    Joseph, have you updated the download with the two fixes you mentioned above (from 1/7/06)?

    Thanks.
    #45
    01/10/2006 (11:38 pm)
    ...
    #46
    01/11/2006 (11:28 am)
    Thank you Joseph!

    I'm really looking forward to this. I'm hesitating to upgrade to Blender 2.40 for now (I'm still a newb modeler, but I'm looking forward to using the new, improved IK stuff in Blender 2.40).

    I wish I knew more about what was going on there to help out in some way.
    #47
    01/11/2006 (11:34 am)
    I wouldn't hesitate, upgrade and start learning all the new and cool stuff in Blender. The current exporter does not limit any current feature, just doesn't support the new features.
    #48
    01/11/2006 (12:34 pm)
    Hi,

    I just tried to set up Python24 for Blender to use the exporter like it was said in the readme. Unfortunately Blender does not recognize the exporter.

    I installed Python24 in "G:\Programme\Blender Foundation\Blender\Python24". Then I add a Environment Variable in Windows XP

    (SET PYTHONPATH=G:\Programme\Blender Foundation\Blender\Python24;G:\Programme\Blender Foundation\Blender\Python24\DLLS;G:\Programme\Blender Foundation\Blender\Python24\LIB;G:\Programme\Blender Foundation\Blender\Python24\LIB\LIB-TK).

    I started Blender and set the Python-File-Path to "G:\Programme\Blender Foundation\Blender\Python24".

    Nothing happened. The exporter was installed in:
    "G:\Programme\Blender Foundation\Blender\Python24\TorqueExporter".

    What am I doing wrong?

    The filepath in the Environment Variable *DLLS and *LIB looks odd...
    #49
    01/11/2006 (2:31 pm)
    Hi,

    I used this tutorial to install the dts exporter from blender :
    tdn.garagegames.com/wiki/DTS/Blender/Downloading_and_Installing_the_Exporter

    I use linux ubuntu with :

    Python 2.4.2
    Blender : blender-2.40-linux-glibc232-py24-i386.tar.gz
    Blender Python Scripts for 2.4 ( export blender to dts blender24dtsexport.zip )


    When i launch the menu file/export/"torque shape ..." , i get the folowing message error into the unix window and the export function stop with "script error" message.


    Any idea to fix it ?



    Using Python version 2.4
    Traceback (most recent call last):
    File "", line 37, in ?
    File "/home/philippe/blender-2.4-static/.blender/scripts/DTSPython/__init__.py", line 30, in ?
    from Torque_Util import *
    File "/home/philippe/blender-2.4-static/.blender/scripts/DTSPython/Torque_Util.py", line 26, in ?
    import struct, array, math, string
    ImportError: /usr/lib/python2.4/lib-dynload/array.so: undefined symbol: _PyArg_NoKeywords

    Blender quit
    #50
    01/11/2006 (3:23 pm)
    ...
    #51
    01/11/2006 (8:39 pm)
    @joseph

    have you heard/seen anything about this? www.elysiun.com/forum/viewtopic.php?t=58693

    I'm not quite sure but from what I understand it makes it so you won't have to "bake" animations anymore, it will read the actual pose on each frame. I think I read somewhere that it will be in a 2.4.1 coming soon.
    #52
    01/11/2006 (8:55 pm)
    ...
    #53
    01/12/2006 (12:52 am)
    Keep Goin' Joseph!
    cvs updates of yesterday are mainly on armatures, bones and pose mode. If you can make IK and/or constrained (Copy Loc and Rot) animations Work in 2.40 or 2.41. It would be very usefull for many peoples.

    Really good Job !
    Thanx.
    #54
    01/12/2006 (10:20 am)
    @Joseph

    I followed your instructions but it is still not working. I could not uninstall the python version because it was a *.zip so I only deleted all files and reinstalled blender.
    I have now no extra folder in scripts saying "TorqueExporter", is that right?

    Thanks!
    #55
    01/12/2006 (5:07 pm)
    ...
    #56
    01/12/2006 (6:28 pm)
    Here is a thread describing some problems getting the exporter to work and how to correct it.
    #57
    01/13/2006 (3:44 am)
    HI,

    somehow my DTSPython folder was empty. I copied the files into it and reevaluted the FilePaths for the python script path and there it was. Thanks for the help!
    #58
    01/14/2006 (1:40 pm)
    Is anyone else having a problem opening up the *.tar file for the latest changes? I keep getting a header corrupt when I try to extract the file.
    #59
    01/14/2006 (3:09 pm)
    Joseph Greenawalt could you give me more information on your remarks :

    "@Philippe C:
    Looks like your python install is messed up in some way? That error seems to be happening when importing a standard python library."


    In the file Torque_Util.py I added the folowing code :

    import sys
    print sys.path

    import struct,math, string
    from struct import *
    import array
    from array import *


    and i got in the console window the trace below when i use the menu file/export/torque shape DTS :

    Using Python version 2.4

    ['/home/pc/blender-2.40', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/local/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/HTMLgen', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/PIL', '/usr/lib/python2.4/site-packages/cairo', '/usr/lib/python2.4/site-packages/gtk-2.0', '/home/pc/blender-2.40/', '/home/pc/blender-2.40/./.blender/scripts', '/home/pc/blender-2.40/./.blender/scripts/bpymodules']

    Traceback (most recent call last):
    File "", line 37, in ?
    File "/home/pc/blender-2.40/./.blender/scripts/DTSPython/__init__.py", line 30, in ?
    from Torque_Util import *
    File "/home/pc/blender-2.40/./.blender/scripts/DTSPython/Torque_Util.py", line 29, in ?
    import array
    ImportError: /usr/lib/python2.4/lib-dynload/array.so: undefined symbol: _PyArg_NoKeywords

    Blender quit


    as you can see the path seems good .

    I set the PYTHONPATH with these paths => always the same error.

    Any ideas or clues to help me ?

    is the DTS exporter works on linux in the previous version ?
    If someone use it at this moment , could give me the version of blender, python that you use ?

    :)
    #60
    01/14/2006 (3:33 pm)
    ...