I have become kind of stuck on this problem and was wondering if you might be able to help but it is probably best if I include an image first to illustrate what have been doing :
What I need to figure out is how can I calculate an arbitrary axis that is aligned to the selected quad.
as the equation wX cross product n to give ax and ax cross product wY is not going to align my 'sub planes' with the selected quad.
So, do I have to create a D3DXPlane by passing some of the points of the quad and if so how would I then create an axis that would align to the orientation of the selected quad?
Regards,