I seem to be having a little problem with this exporter. I already know how to export animations to directx and it works fine. However, when I use the .x file I exported in another program (Dark Basic Pro to be exact) the animated object were lighted wrong.
When the object is facing the light source, the lighting and shadowing is normal (front lighted; back shadowed); but when the object turns to its side, the object lighting and shadowing is inverted (the side where the light source are placed is shadowed). This only happened on animated models.
I believe this is caused by the exporter plugin. Whenever I export the object without animations, the lighting is normal.
If anybody can help, that would be great!