If you can''t figure out the code above, I suggest you spend more time in C++ or beginning D3D. This is not meant as criticism. The above code will load a standard mesh, however it will not load a skinned mesh or an animated mesh. A standard mesh is probably good for you now, but as I say, if you can''t understand it don''t use it.
Don''t expect to be able to render a full world at your first attempt. Try getting a few triangles moving around the screen, work with textures, and once you have got that down pat attempt a standard XFile Loader like the one above.
Popular Topics
Advertisement