Re: Left-handed vs. right-handed

Jon Watte <[email protected]>
Newsgroups gmane.games.devel.algorithms
Message-ID <[email protected]>
Ruben Penalva wrote:
> In my honest opinion, this is the same with "column major vs row 
> major". Whatever you choose just stick with it. Make a clear 
> documentation about your choose and how are you going to convert the 
> data to your system. Then, forget about it and never ever change the 
> decision you made. :)


Hey, how about "row vector on left" vs "column vector on right" ? Or 
"WXYZ" vs "XYZW" quaternions?

However, it turns out that if you're mainly D3D, you end up with 
left-handed, row major, row vectors on the left, and if you're mainly 
OpenGL, you end up with right-handed, column-major, column vectors on 
the right, and because you flip both the storage and the multiplication 
convention, the in-memory representation turns out to be the same, which 
confuses people even more, because they don't even realize that they're 
mixing and matching code from different conventions, and it "mostly" 
works anyway.

Sincerely,

jw


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
GDAlgorithms-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.