Hello.
I'm currently writing my own DirectX .X file importer for dbpro.
Many users will say :
"It's useless, cos DBPro can load .x models easily."
Theorically, you're right.
but you're wrong.
I experienced problems with objects generated by TreeMAGIK G3 and PlantLIFE. These objects cannot be affected by light. Only ambient light amplitude affect them.
My solution ?
I open the .x file, read all data information and rebuild entirely the object using memblocks. I also use a normals calculation algorithm to recalculate the good ones.
After this, I export object to .DBO
And now, these objects can be affected by lights and all is ok.
If some users encounter the same problem than me, I'll release my .x loader for them.
Actually, the loader work correctly with objects that uses triangles and have some issues with objects that uses quad (instead of triangles). I work to fix that.
All we have to decide is what to do with the time that is given to us.