Re: A89: Basic -- 3Dstudio


[Prev][Next][Index][Thread]

Re: A89: Basic -- 3Dstudio




In a message dated 12/16/98 4:41:14 PM Eastern Standard Time,
nlmueller@students.wisc.edu writes:

> Moving a point <x,y,z> in the direction of the vector <a,b,c>
>  
>  | 1 0 0 a |
>  | 0 1 0 b | * <x, y, z, 1> = <x+a, y+b, z+c>
>  | 0 0 1 c |

how does this move a point in the direction of a,b,c?  help?

>  Rotating a point m degrees around the z axes
>  
>  |  cos(m) sin(m) 0 |
>  | -sin(m) cos(m) 0 | * <x, y, z> = <x*cos(m)+y*sin(m), -x*sin(m)+y*co(m),
z>
>  | 0           0        1 |
>  
>  Which makes sense if you remember your matrix multiplication

?

>  | a b c |    | x |     | ax + by + cz |
>  | d e f | * | y | =  | dx + ey + fz |
>  | g h i |     | z |     | gx + hy + iz |

how can l make a point out of that answer?


Follow-Ups: