Novice question -- orientation/scale matrix.


Novice question -- orientation/scale matrix.
#1
How in mathematician way I can detect angle of rotation? From Line type 1 as simple|primitive file reference. The generic format is:

Code:
1 <colour> x y z a b c d e f g h i <file>
Lego isn't just a brand of plastic bricks. It's a lifestyle; and artistic medium.
Reply
RE: Novice question -- orientation/scale matrix.
#2
(2017-09-23, 16:37)Jarema Wrote: How in mathematician way I can detect angle of rotation? From Line type 1 as simple|primitive file reference. The generic format is:

Code:
1 <colour> x y z a b c d e f g h i <file>

There isn't a universal way of doing that you'll need to know some of the original parameters (e.g. was a Y-axis rotation).

You can extract an x,y,z angles (tilt/yaw/roll) but then you'll still need to know the order of the original angles, and even then you won't get the exact same results just values which give the same matrix.
Reply
RE: Novice question -- orientation/scale matrix.
#3
What You can say about this references:
1 72 0.0 -8.0 -59.0 1 0 0 0 1 0 0 0 1 4282.dat
1 272 64.5 -74.5 -271.25 -0.9 -0.1 -0.1 -0.1 0.7 0.6 0 0.6 -0.7 3819.dat

According to The LDraw Unit Matrix It is like:

Code:
1 0 0 0
0 1 0 -8
0 0 1 -59
0 0 0 1

-0.9 -0.1 -0.1  64.5
-0.1  0.7  0.6 -74.5
0.0  0.6 -0.7 -271.25
0.0  0.0 0.0   0.1
Lego isn't just a brand of plastic bricks. It's a lifestyle; and artistic medium.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)