• Advertisement
Sign in to follow this  

D3DXIntersectSubset

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

Share this post


Link to post
Share on other sites
Advertisement
Peace o cake.

1) Optimize the mesh to create the attribute buffer

2) Do the D3DXIntersect, and use the face index returned to index into the attribute buffer and get the attribute of the face hit.

Share this post


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

  • Advertisement