Unfortunately I am still struggling with the skinned mesh. I wish I have more energy and time to spend on it. But it's not without progress. I tried to use the model from DirectX example, and it give me skin info, which shows that there is something wrong with the model exported from Milkshape 3D. I think I have to check out the Milkshape 3D website to see if they have new plug-ins etc for exporting .X model with skin info etc. But even after the experiment nothing shows up on screen, although the debugger indicates all the rendering step has been gone through...perhaps it's the light setting or the material that cause the problem. Further investigation is needed.
Another problem I noticed before but didn't mention is that for some reason I need to set material, even for Sprite...otherwise nothing shows up. I don't fully understand it yet but I will just leave this here in case I encounter similar problem in the future.
UPDATE: After some investigation, I decide to try rendering the model without using HLSL. Although the example from DirectX provides the HLSL usage example, I can't seem to get it to work, and I don't have enough knowledge about it to debug it I think. So I will skip that for now and try to get the model to show up and animated properly. Later I should research on HLSL and try to put the shader in.
20 Nov 2008
Nothing Shows up
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment