Damyon,

"Damyon Wiese" writes:

> Hi Alberto,
>
> The script is for using within blender. Copy the files from the 
> blenderExporter directory to your blender scripts folder. I'm on linux so my 
> folder is at:
>
> ~/.blender/2.57/scripts/addons/
>
> Then when you open blender you will need to enable the script. 
>
> * Open the User Preferences window (Ctrl + Alt + U)
> * Click on the Addons tab
> * Type osg in the search box
> * Check the checkbox next to the "Import-Export: Export OSG format (.osg)" 
> entry to enable the plugin. 
> * Click "Save as default" to save the changes permanently.  
>
> Now the File -> Export menu will have an additional entry - "OSG Model 
> (.osg)" which will run the script. 
>
> Hope this helps - Damyon

Indeed it does, thank you very much. I'm such a newbie when dealing with
these new 2.5x series. I could export some meshes at will. I had only
problems when exporting a MakeHuman skeleton. I attach the log in case
you are interested:

BlenderExporter directory  blenderExporter
read blend: /tmp/5-abril/mr.blend
OpenScenGraph Option [ AUTHOR ] =  
OpenScenGraph Option [ LOG ] = True True
OpenScenGraph Option [ SELECTED ] = ALL ALL
OpenScenGraph Option [ INDENT ] = 3 3
OpenScenGraph Option [ FLOATPRE ] = 4 4
OpenScenGraph Option [ ANIMFPS ] = 25 25.0
OpenScenGraph Option [ FILENAME ] = /tmp/5-abril/mr3.osg /tmp/5-abril/mr3.osg
{'INDENT': 3, 'LOG': True, 'AUTHOR': '', 'SELECTED': 'ALL', 'ANIMFPS': 25.0, 
'FLOATPRE': 4, 'FILENAME': '/tmp/5-abril/mr3.osg'}
FILENAME:'mr3'
.................... mr3
osg: processing Armature Armature
Traceback (most recent call last):
  File "/tmp/blenderSVN/build/bin/2.57/scripts/addons/osgExport.py", line 151, 
in execute
    OpenSceneGraphExport(config)
  File "/tmp/blenderSVN/build/bin/2.57/scripts/addons/osgExport.py", line 55, 
in OpenSceneGraphExport
    export.process()
  File "/tmp/osgexport/blenderExporter/osg/osgdata.py", line 444, in process
    self.exportItemAndChildren(obj)
  File "/tmp/osgexport/blenderExporter/osg/osgdata.py", line 246, in 
exportItemAndChildren
    item = self.exportChildrenRecursively(obj, None, None)
  File "/tmp/osgexport/blenderExporter/osg/osgdata.py", line 288, in 
exportChildrenRecursively
    item = self.createSkeletonAndAnimations(obj)
  File "/tmp/osgexport/blenderExporter/osg/osgdata.py", line 406, in 
createSkeletonAndAnimations
    for nla_track in obj.animation_data.nla_tracks:
AttributeError: 'NoneType' object has no attribute 'nla_tracks'

location:<unknown location>:-1

location:<unknown location>:-1

Regards,

-- 
Alberto

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to