X Files (ID3DXMesh), Lights, and Transformations
I recently made a class to load and render X files. I encapsulated the functionality of ID3DXMesh in DirectX 9.0c. The thing is, I don't know how to add lights based on the loaded mesh, nor do I know how to transform the mesh. I want to rotate the mesh around the world origin, for example. Or perhaps I want to move the object. I've had a real tough time finding tutorials that cover a lot on Direct3D topics such as loading meshes and adding lights to them, etc.
Can anyone help out? Thank you!