To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 1131
1130  |  1132
Subject: 
Re: rotation matrix
Newsgroups: 
lugnet.cad.mlcad
Date: 
Sat, 15 Dec 2001 22:03:47 GMT
Viewed: 
3751 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:
  Re: rotation matrix
 
Thanks QBF (23 years ago, 16-Dec-01, to lugnet.cad.mlcad)

Message is in Reply To:
  rotation matrix
 
Could anyone be kind enough to explain the rotation matrix in MLCAD? Thanks QBF (23 years ago, 15-Dec-01, to lugnet.cad.mlcad)

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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR