Does anyone know an easy or standard way of determining the angles of a 3D face? If a face is defined by three points I'm assuming it's orientation can be described by two angles, any two angles, as long as they relate to two of the three axis.
any guidance would be appreciatedMy maths ain't great and my current method is quite complicated.
Edit: A bit more info...
My current idea to determine the angle around the X-axis; I take the middle X vertex and work out the 2D vector which intersects the edge opposite along the YZ plane. Then use arctangent with this vector to get the angle around X. Rinse and repeat for either Y or Z.
Does this sound about right?
I aware that because I don't know (at this stage) which direction the face is facing that any answers will be between 0 and Pi.




My maths ain't great and my current method is quite complicated.
Reply With Quote