Subject:
|
Re: rotation matrix
|
Newsgroups:
|
lugnet.cad.mlcad
|
Date:
|
Sat, 15 Dec 2001 22:03:47 GMT
|
Viewed:
|
3994 times
|
| |
 | |
In lugnet.cad.mlcad, Jason Hill writes:
> Could anyone be kind enough to explain the rotation matrix in MLCAD?
>
> Thanks
>
> QBF
This is linear algebra.
The coord vectors are multiplied by the 3x3 matrix.
a b c d e f g h i
actually stands for
a b c
d e f
g h i
Some effects can be achieved using matrices:
1 0 0
0 1 0 this is the identity matrix (no effect)
0 0 1
a 0 0
0 b 0 this is the scale matrix
0 0 c it scales by a in x direction, b in y direction, c in z direction
you can also obtain mirror effect with negative values
-1 0 0
0 1 0 this is the x-axis mirror matrix
0 0 1
1 0 0
0 -1 0 this is the y-axis mirror matrix
0 0 1
1 0 0
0 1 0 this is the z-axis mirror matrix
0 0 -1
There are also rotation matrices...
When multipling matrices you cumulate the effects of them.
You can find more informations in a linear algebra book or, better, in a 3D
programming book.
Damien
|
|
Message has 1 Reply:
Message is in Reply To:
3 Messages in This Thread:     
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|