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

  1. Xref: sparky comp.graphics:14201 comp.windows.x.pex:699 comp.graphics.opengl:276
  2. Newsgroups: comp.graphics,comp.windows.x.pex,comp.graphics.opengl
  3. Path: sparky!uunet!stanford.edu!nntp.Stanford.EDU!leland.Stanford.EDU!ledwards
  4. From: ledwards@leland.Stanford.EDU (Laurence James Edwards)
  5. Subject: Re: Row major or column major matrices?
  6. Message-ID: <1993Jan26.015341.21414@leland.Stanford.EDU>
  7. Sender: news@leland.Stanford.EDU (Mr News)
  8. Organization: DSG, Stanford University, CA 94305, USA
  9. References:  <1993Jan22.124249.3817@eye.com> <1993Jan25.013450.334@leland.Stanford.EDU>
  10. Date: Tue, 26 Jan 93 01:53:41 GMT
  11. Lines: 24
  12.  
  13. In article <1993Jan25.013450.334@leland.Stanford.EDU>, ledwards@leland.Stanford.EDU (Laurence James Edwards) writes:
  14. |> In article <1993Jan22.124249.3817@eye.com>, erich@eye.com (Eric Haines) writes:
  15. |> |> I feel vaguely like I'm in a twilight zone episode.  You know, like the ones
  16. |> |> where some guy wakes up and finds that all the lettering is backwards and
  17. |> |> everyone is left-handed.
  18. |> |> 
  19. |> |> Someone was telling me that OpenGL allows only post-concatenation of matrices
  20. |> [...]
  21. |> 
  22. |> It's even more surprising since the current version of GL normally
  23. |> pre-concatenates. I can imagine some hard to find bugs when people port old GL
  24. |> code in which they generate their own matrices from scratch.
  25.  
  26. Knowledgeable sources inside SGI inform me that the OpenGL spec's are just
  27. written using column vectors and post-concatenation because of the notational
  28. preferences of the author(s) ... the actual hardware will still be doing
  29. pre-concatenations. Actually, this is clear from what Eric said. As Eric
  30. indicated, in the OpenGL spec they show matrices stored in column major order,
  31. whereas in reality C stores matrices in row major order, so effectively what
  32. they've done in the diagrams is transpose the matrices ... hmmm I can think of
  33. less confusing ways to write a spec.
  34.  
  35. Larry Edwards
  36.   
  37.