Results 1 to 9 of 9

Thread: How do I generate 2 vectors that are paralell to 1?

Threaded View

  1. #1

    Thread Starter
    Addicted Member Cuallito's Avatar
    Join Date
    Apr 2001
    Location
    You know that chest that you could never get opened? If you ever do, I'm there.
    Posts
    136

    Arrow How do I generate 2 vectors that are paralell to 1?

    Okay, I need to generate 2 vectors that are perpendicular to each other and one that is already given ie. a normal. I've given it some thought and this is what I came up with: Let's say you have 3 vectors that are perpendicular to each other, a=<1,0,0>, b=<0,1,0>, c=<0,0,1>. Now all you have to do is rotate a to were it equals the normal in question, and rotate b and c to keep them perpendicular. So it all basicaly boils down to this: Find x, y, and z angles and rotate a by that angle so that it faces the same direction as the normal. Also, will someone care to explain 3D rotation using matices to me ?
    Last edited by Cuallito; May 1st, 2001 at 07:56 PM.
    BTW, Thanks for all your help

    Member of the anti-gay cross-dressing trans-species wolves alliance.

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