Jump to content
  • Advertisement
Sign in to follow this  
FreAkInZ

Getting dummy position

This topic is 4155 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, I'm exporting my mesh (static and skinned) with panda exporter. I placed dummies on a terrain mesh but I have no clue how to get them from the loaded X file. Any one know how to do this or where I could find a sample that does this thanks!

Share this post


Link to post
Share on other sites
Advertisement
well maybe my question wasn't clear enough :)

so here again

When I export a mesh I have a few keys in the exported file that specify frames

When I put a dummy in the scene it looks like that in the file


Frame Dummy01 {


FrameTransformMatrix {
3.099475,0.000000,0.000000,0.000000,0.000000,3.099475,0.000000,0.000000,0.000000,0.000000,3.099475,0.000000,0.133747,0.630215,0.298504,1.000000;;
}

Frame {


FrameTransformMatrix {
1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,-0.000000,0.000000,-0.000000,1.000000;;
}
}
}


Basicly I want to get that dummy's information in my directx application. Is there any other things to do then just loading the .x ... where is the hierarchy to get that object ... basicly how can I parse all the dummies I've placed in the scene.

Thx!

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.

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!