Jump to content
  • Advertisement
Sign in to follow this  
bartiss

How to create list of faces of D3DXMESH

This topic is 4870 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 trying to develop a 3D racing game. Terrain is modelled in 3D MAX and exported to .x file. What I want is to get a list of all faces in this mesh along with normals and middle points. I need it to calculate collisions etc. Can anybody tell me how to do it? Not in theory, but using apropriate functions. I have no idea where to start. Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
If you want to just use it to calculate collisions, etc there is a handly tool called MeshIntersect (or MeshIntersectSubset) -- which you could combine with sphere/cylinder/box detection and get pretty accurate results. Its a subset of the Mesh type.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!