Results 1 to 7 of 7

Thread: [RESOLVED] deterimining the angle(s) of a 3D face

Threaded View

  1. #1

    Thread Starter
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Resolved [RESOLVED] deterimining the angle(s) of a 3D face

    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 appreciated My 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.
    Last edited by Milk; Jul 10th, 2008 at 11:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width