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

  1. Xref: sparky comp.graphics:14164 comp.windows.x.pex:695 comp.graphics.opengl:273
  2. Path: sparky!uunet!olivea!sgigate!odin!bananapc.csd.sgi.com!ciemo
  3. From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz)
  4. Newsgroups: comp.graphics,comp.windows.x.pex,comp.graphics.opengl
  5. Subject: Re: Row major or column major matrices?
  6. Message-ID: <1993Jan24.230919.29093@odin.corp.sgi.com>
  7. Date: 24 Jan 93 23:09:19 GMT
  8. References: <1993Jan22.124249.3817@eye.com> <1993Jan23.000930.26869@kpc.com>
  9. Sender: news@odin.corp.sgi.com (Net News)
  10. Organization: Silicon Graphics, Customer Support Division
  11. Lines: 35
  12. Nntp-Posting-Host: bananapc.csd.sgi.com
  13.  
  14. In article <1993Jan23.000930.26869@kpc.com>, jbulf@balsa.Berkeley.EDU (Jeff Bulf) writes:
  15. |> I have no strong preference for either, but it would make my life
  16. |> much esier if real-world systems could *choose one and stick with it*!
  17. |> I recently had days of unnecessary skullsweat grafting OpenGL
  18. |> evaluator onto a utility library that used the opposite ordering.
  19. |> 
  20. |> On a related note...
  21. |> I learned most of my 3d graphics in left-handed coordinates. When
  22. |> z increases into the screen, the perspective transformation falls
  23. |> out trivially from an extra 1 in the viewing matrix.
  24. |> (F&VD comes to mind as an example). Yet PEX insists on right-handed
  25. |> coordinates, and PEX is the nearest thing to an existing standard in
  26. |> the industrial world. (Arguably brain-dead, but there's no use in
  27. |> getting into that.) Anyway, more nearly universal consistency would be appreciated here too.
  28. |> 
  29. |> Flame off...
  30.  
  31. There is a really nice reason to make the coordinates use a right-handed
  32. coordinate system: the vector algebra taught in physics and engineering
  33. assumes that world is "right-handed", if I remember things correctly.
  34. I seem to remember the torque vector following a right-handed rule, as
  35. one example.
  36.  
  37. If the choices made match the "physical" world rather than some implementation
  38. constraint, it makes things much easier for the scientists and engineers to
  39. do their work with the model presented.
  40.  
  41.  
  42. -- 
  43.  
  44.     __   * __   _  __  ___            
  45.    /  \ / / /  / \/  \/   \     He was a man like any other man, however, not
  46.   /    /  \/  /  /\  /    /    quite like any other man.
  47.   \___/\__/\_/  /_/ / \__/    
  48.                *        
  49.