The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Farabi on August 16, 2009, 06:51:22 AM

Title: Convert left hand to right hand
Post by: Farabi on August 16, 2009, 06:51:22 AM
Anyone know how to do that?
Title: Re: Convert left hand to right hand
Post by: dedndave on August 16, 2009, 10:37:52 AM
hiya Farabi
i don't know what you mean
justify text ?
mouse ?
swap strings end to end ?
Title: Re: Convert left hand to right hand
Post by: Farabi on August 16, 2009, 10:44:44 AM
Quote from: dedndave on August 16, 2009, 10:37:52 AM
hiya Farabi
i don't know what you mean
justify text ?
mouse ?
swap strings end to end ?

No left hand coordinate to right hand coordinate.
Title: Re: Convert left hand to right hand
Post by: dedndave on August 16, 2009, 11:34:21 AM
what really changes is the Z-axis
mathematically, you would leave the x and y coordinates as they are, and negate the Z-axis values
as though you were viewing the screen from inside or behind the monitor
http://en.wikipedia.org/wiki/File:Cartesian_coordinate_system_handedness.svg
Title: Re: Convert left hand to right hand
Post by: Farabi on August 16, 2009, 11:48:46 AM
Quote from: dedndave on August 16, 2009, 11:34:21 AM
what really changes is the Z-axis
mathematically, you would leave the x and y coordinates as they are, and negate the Z-axis values
as though you were viewing the screen from inside or behind the monitor
http://en.wikipedia.org/wiki/File:Cartesian_coordinate_system_handedness.svg

Thanks
Title: Re: Convert left hand to right hand
Post by: FORTRANS on August 16, 2009, 12:43:16 PM
Hi,

   Slightly more technical, handednaess is defined by the order
and direction of the rotations going from one axis to another.
While negating the Z-axis is most common, you can negate
any one of the axes. Or any odd number of axes.

   A nit pick, but...

Steve
Title: Re: Convert left hand to right hand
Post by: Rockoon on August 16, 2009, 01:31:00 PM
Quote from: FORTRANS on August 16, 2009, 12:43:16 PM
Or any odd number of axes.

I'm pretty sure that negating all 3 axis will not switch from one to the other.

Title: Re: Convert left hand to right hand
Post by: FORTRANS on August 16, 2009, 06:46:28 PM
Hi,

   Think of negating the axis as a mirror reflection.  Then
a even number of reflections preserve handedness.  And
an odd number changes it.  look in a mirror and you see a
"mirror image" of youself, with your right hand looking like a
left hand on a person facing you.

   Get two mirrors, place them at right angles and look at
it so your image is reflected twice.  Your image is back to
normal.  Get three mirrors at right angles like a corner of
a cube and look in.  Mirrored again.

Steve N.
Title: Re: Convert left hand to right hand
Post by: dedndave on August 16, 2009, 06:54:30 PM
nah - i'd probably break em
21 years of bad luck
Title: Re: Convert left hand to right hand
Post by: Farabi on August 17, 2009, 01:22:50 AM
So here is my problem:
Here is what it should like

(http://omploader.org/vMjV5bQ/Right.JPG)

And here is what I got

(http://omploader.org/vMjV5bg/wrong.JPG)

Im suspocious it was happened because of the wrong order of the handed coordinate, since when it should kick to above, mine kick to below.
Title: Re: Convert left hand to right hand
Post by: Rockoon on August 17, 2009, 06:40:48 PM
Quote from: FORTRANS on August 16, 2009, 06:46:28 PM
Hi,

   Think of negating the axis as a mirror reflection.  Then
a even number of reflections preserve handedness.  And
an odd number changes it.  look in a mirror and you see a
"mirror image" of youself, with your right hand looking like a
left hand on a person facing you.

   Get two mirrors, place them at right angles and look at
it so your image is reflected twice.  Your image is back to
normal.  Get three mirrors at right angles like a corner of
a cube and look in.  Mirrored again.

Steve N.

Thanks.