I'm using D3DXIntersect to get face index in mesh and that is working nice.
I don't know how to get normal for that face or normals for vertices that are forming that face. Actualy... only normal for first vertex would be enough.
I'm using D3DXIntersect to get face index in mesh and that is working nice.
I don't know how to get normal for that face or normals for vertices that are forming that face. Actualy... only normal for first vertex would be enough.
I found solution i Pick demo in DirectX SDK.
Bookmarks