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