You need Blender 2.5 plus
Do the following:
Get blender 2.5 from blender.org 13
Open your model/do whatever you need
If you’re creating an animation make sure to insert a keyframe for EVERY frame (this will be important later).
In blender go to the preferences and the add-on manager.
In the search box type in ‘x’ without the single quotes there. This will bring up a couple of results, check the box to the right of the direct X file exporter.
Export your file choosing the appropriate options to the x format.
Load up your model/actor directly into panda (no need to convert to egg)
The X format does NOT support keyframes, it will play each key frame right after another, so you will lose all tweening which is why you need to go into pose mode, select all the bones and insert a keyframe at every frame. Also, I don’t think the x format supports tagging, so I would highly recommend that if you have a bunch of different animations you save them as their own blend file and export each animation on it’s own, example:
[file_name]_walk.x
[file_name]_run.x
[file_name]_jump.x
[file_name]_roll.x
I’ve been using this work flow and it has been amazing!