Original Post
Racking my brains over this one, but there is probably a simple answer. When loading a .x file with D3DXLoadMeshFromX is there any way of determining (from that call of from the resulting mesh) whether the data is for a triangle strip or triangle list? DrawSubset() knows what its drawing so it must deduce it somehow.
The reason i need to know is because i am using D3DXIntersect and i want to know how i should be getting the vertices for the face that is intersected. in the past i have only wanted to know if the mesh was hit, not what part of it.
Thanks,
The reason i need to know is because i am using D3DXIntersect and i want to know how i should be getting the vertices for the face that is intersected. in the past i have only wanted to know if the mesh was hit, not what part of it.
Thanks,