Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

Having problems to transfer D3DXVECTOR3 data to meshContainer.MeshData.pMesh?

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

I have a customized parser which parse a xml file into the application.

However, how can I load various D3DXVECTOR3's (include positions and normals) from the file

 

D3DXMESHCONTAINER_DERIVED meshContainer;
D3DXFRAME_EX frame;
frame.TransformationMatrix = readMatrix(pt, "FrameName.relative");

BOOST_FOREACH(ptree::value_type& v,
            pt.get_child("FrameName.Mesh")) {

            D3DXVECTOR3 v3 = readVector3(pt, "FrameName.Mesh.Vertices");
            meshContainer.MeshData->pMesh = ???

     }

Please lend me a hand. I need your help

Thanks

Jack

Share this post


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

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!