I'm building a solar system model for a basic game I'm working on in Visual Basic 6. I haven't done programming in years, but I'm pretty good - or at least I used to be. My problem is coming in with DirectX8.
Here's what I'm doing:
1) I've got one sphere.x file that I want to load once for the sun and put it at 0,0,0 in my scene. That works fine using the DirectX8 example.
2) Now I want to add planets. So, I dim a new mesh object, and create it in the same way as the first one.
3) No matter what I do (varying my code in the InitObjects, Matrix Setup, or Render) I only get the last mesh in set up in the object init.
MY QUESTION: Is there some sort of an example out there that shows loading one mesh, positioning it, and then loading a second mesh (from an x file) and positioning it in relation to the first one? (Or any example at all of loading two separate meshes from two separate x files?)
Thanks in advance!