Jump to content
  • Advertisement
Sign in to follow this  

Skinned Mesh From X File

This topic is 4704 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

HI Im trying to convert my engine from DX9.0 to the december 2005 directx sdk update but one thing is realy annoying me: when trying to loading a skinned mesh in DX9.0 i do this: HRESULT D3DXLoadSkinMeshFromXof( LPDIRECTXFILEDATA pXofObjMesh, DWORD Options, LPDIRECT3DDEVICE9 pDevice, LPD3DXBUFFER* ppAdjacency, LPD3DXBUFFER* ppMaterials, LPD3DXBUFFER* ppEffectInstances, DWORD* pMatOut, LPD3DXSKININFO* ppSkinInfo, LPD3DXMESH* ppMesh ); and in the December 2005 update it wants: HRESULT D3DXLoadSkinMeshFromXof( LPD3DXFILEDATA pxofMesh, DWORD Options, LPDIRECT3DDEVICE9 pD3DDevice, LPD3DXBUFFER * ppAdjacency, LPD3DXBUFFER * ppMaterials, LPD3DXBUFFER * ppEffectInstances, DWORD * pMatOut, LPD3DXSKININFO * ppSkinInfo, LPD3DXMESH * ppMesh ); is there any way to convert a LPDIRECTXFILEDATA (IDirectXFileData*) to a LPD3DXFILEDATA (ID3DXFileData*) ? or do i have to go through all my code and use ID3DXFile, ID3DXFileData, ID3DXFileEnumObject etc ? Thanks.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!