http://www.blender3d.org/
Blender is an open source 3D modeller, all you have to do is read tons of manuals to understand it, but that goes for every single 3D modelling program.
and .x is a rather standard file format to describe 3D objects if my memory serves right but i'm not sure.