   D3DXIntersectSubset
  HiI want to use D3DXIntersectSubset but its only in DX9 and im working in dx8 and 9. Is there any equivilent function in DX8 or a way of using D3DXIntersect to get the Subset Number (material id) of the point of interection?thanks   
  Peace o cake.  1) Optimize the mesh to create the attribute buffer2) Do the D3DXIntersect, and use the face index returned to index into the attribute buffer and get the attribute of the face hit.