Good job on this exporter, exactly what I needed
I took the liberty to add 2 small things and I think some people can use them too.
- First of all did the exporter crash when I tried it with my version of blender (2.49b). This is because tangent and bitangent information tends to be NaN on some blender versions. I created a little function that checks every normal, tanget, bitangent and sets it to 0.0 if it is a NaN value. If your Blender version supplies proper (bi)tangent information the function won't do anything.
Warning: if your shader uses these (bi)tangents you'll get very weird results (if it works at all) but is't better than not exporting at all.
- This is somewhat more interesting: I added a function to only export animation. When you want different .anim files for the same model this is the solution. All options selected (file name and anim path) are just applied (so you need to change the export file name for every animation).
Warning: with this option selected there is no file existence checking so if you enter a filename that already exists the file will be overwritten without a warning.
ps: maby there already is a (beter) solution for the first problem. Please tell me because I will plug the anim only function into that version of the exporter than.
Hope you'll like it.