Well is there a light source in the scene? Does your diffuse lighting work as intended?
Can you confirm that the exported x-file contains lights and that your rendering code sets the lights?
A screenshot of your program with the model would help also.
Cheers!