Blender export armature to XML

Everything related to 3D programming
Wladek
User
User
Posts: 98
Joined: Mon Feb 23, 2009 4:01 pm
Location: Poland
Contact:

Blender export armature to XML

Post by Wladek »

I want export animation, and I have exporter to xml in Blender, but this new exporter not allow name animation (Old ogre export allow make name animation)
I want export mesh+skleton+animation to ogre. What I must download/install?
When I export, armature sometiomes do'nt work well - i have no idea why?
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 572
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Re: Blender export armature to XML

Post by bembulak »

The following has been successfully tested with Blender 2.6x and Blender2Ogre exporter + OgreXMLConverter (aka Ogre command line tools):

- model your mesh
- add bones/armature
- make your animation and give it a proper name
- go to NLA strips and add a strip with an action. Choos from the list of animations
- select mesh in 3D view
- export it to an ogre scene

At the moment I can only export one animation at a time, but when you get the XML file, just copy the <animation name="..."> .... </animation> tag all in one file, then run the commandline tools and your all set.
cheers,

bembulak
Wladek
User
User
Posts: 98
Joined: Mon Feb 23, 2009 4:01 pm
Location: Poland
Contact:

Re: Blender export armature to XML

Post by Wladek »

bembulak wrote: ... when you get the XML file, just copy the <animation name="..."> .... </animation> tag all in one file...
Great idea, thanks. This is it

Older exporter support animation name - new not supported
Post Reply