| | Re: DirectX and .dat
|
| (...) It sounds like you need help finding the normal vector so that Direct X will prperly shade the triangle. you can find the normal vector for the vertex by calculating the cross product of two vectors taken from two sides of the triangle. I (...) (23 years ago, 27-Feb-02, to lugnet.cad.dev)
| | | | Re: DirectX and .dat
|
| (...) Of course you will have to convert this to a unit vector, by dividing each of the conponents by the length of the resulting vector. (23 years ago, 27-Feb-02, to lugnet.cad.dev)
| |