home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14176 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.1 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!uflorida!maple.circa.ufl.edu!LIONESS
  2. From: lioness@maple.circa.ufl.edu
  3. Newsgroups: comp.graphics
  4. Subject: Filling in 3d rotation matrix
  5. Message-ID: <38381@uflorida.cis.ufl.edu>
  6. Date: 25 Jan 93 16:36:33 GMT
  7. Sender: news@uflorida.cis.ufl.edu
  8. Reply-To: lioness@maple.circa.ufl.edu
  9. Organization: Center for Instructional and Research Computing Activities
  10. Lines: 18
  11. Nntp-Posting-Host: maple.circa.ufl.edu
  12.  
  13.  
  14. I am trying to determine a rotation matrix for an arbitrary 3d rotation.  What
  15. is the easiest method of accomplishing this given:
  16.  
  17. absolute vector forward
  18. absolute vector up
  19. absolute vector right
  20.  
  21. I have an object's rotation/translation matrix ( relative to the world ) against
  22. which I apply vectors 0,0,1 ; 0,1,0 ; and 1,0,0 to determine the above absolute
  23. vectors.  I then translate them so they are relative to the origin by 
  24. subtracting the object's translation, and finally I normalize them.  So, what
  25. can I do with them that is efficient to generate a rotation matrix 
  26. ( specifically a camera rotation matrix ).
  27.  
  28. Thanks,
  29.  
  30. Brian
  31.