Life is a Rabbit Pellet

Ramblings of a Zimbrindian's travels, life, and research.



Monday, July 18, 2005

darn rz

Just when I thought I had the Partiview angles all figured out, I find that I can't just set Rz to a constant.

Here are some values I know are correct. They are for when the camera is at 0 0 0, and you are looking at a b c, and you need rx ry rz. The rx ry here are calculated using partiviewangles.m and the rz are computed manually (i.e. we want a rule giving rz) and are therefore approximate.


a b c rx ry rz
------------------------------------------
1 0 0 0 -90 -90
-1 0 0 0 90 90
0 1 0 90 0 0
0 -1 0 -90 0 180
1 1 0 45 -90 -90
1 2 0 63.4349 -90 -90
-1 2 0 63.4349 90 90
1 -2 0 -63.4349 -90 -90
-1 -2 0 -63.4349 90 90
-1 2 3 147.6885 -18.4349 -32
1 -2 3 -147.6885 18.4349 148
-1 -2 3 -147.6885 -18.4349 -148
1 2 -3 32.3115 -18.4349 -32
-1 2 -3 32.3115 18.4349 32
1 -2 -3 -32.3115 -18.4349 -148
-1 -2 -3 -32.3115 18.4349 148
1 2 3 147.6885 18.4349 32
1 3 2 126.6992 26.5651 32
2 3 1 126.6992 63.4349 68
2 1 3 164.4986 33.6901 68
3 2 1 147.6885 71.5651 80
10 1 2 174.3996 78.6901 90
4 1 2 167.3956 63.4349 84
3 1 2 164.4986 56.3099 80
2.5 1 2 162.6539 51.3402 76
2 1 2 160.5288 45 71
1.5 1 2 158.1986 36.8699 64
1 1 2 155.9052 26.5651 50
0.5 1 2 154.1233 14.0362 30
0 1 2 153.4349 0 0


There was lots of leftover beer from one of yesterday's night talks - we helped ourselves to some of it, and now our fridges are filled.

Other discoveries: coconut-heavy thai curry must be eaten in moderation.

0 Comments:

Post a Comment

<< Home