Click to See Complete Forum and Search --> : X Files (ID3DXMesh), Lights, and Transformations


MrDoomMaster
August 15th, 2005, 10:31 PM
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!