Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

masd

RPG Code in DX 9

This topic is 5394 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello EveryOne, I m trying to convert Jim''s RPG Book''s code from Dx8 to Dx9 and got problems in the Skinned Meshes Area. It looks a lot of changes here. Can anybody help out about it. The ID3DXSkinMesh has been changed to ID3DXSkinInfo and its functions are also changed. I could not convert the code to Dx 9. If anybody did this, please help...

Share this post


Link to post
Share on other sites
Advertisement
I have done the same, except that there are still a few bugs I am sorting out for eg. Normals and lighting, If you want to talk email me, or contact me on MSN Messenger.

The best way to go about it is to make your own ID3DXSkinMesh replacement, which is a combo of ID3DXMesh and ID3DXSkinInfo

- Ratterbox

Share this post


Link to post
Share on other sites
D3DXSkinInfo is niftier than D3DXSkinMesh because it no longer holds the mesh internally. It''s just a filter object for creating a separate skinned mesh (or in the case of software skinning, merely skinning a list of vertices).

The conversion shouldn''t be that difficult. Mostly, wherever he keeps a D3DXSkinMesh, you keep a D3DXMesh. And, wherever he calls D3DXSkinMesh::ConvertToXXX, you need the D3DXSkinInfo object to do that. It''s a sizeable change, but not a showstopper.

I like pie.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!