CS262 Homework 1: Interpolation

Due Thursday, October 17, Turn in and Present in Class


Objectives:

This assignment is to clarify the results of different methods of interpolating rotations in three dimensions. You have to turn in your solutions on paper, but you can program the computer to help if you like. In any case, your solutions should be clear and easy to follow. Show the steps.

Assignment:

The base problem is to rotate between two coordinate frames. Image a card that is white on the side perpendicular to the Y-axis and black on the other. It is attached by a stock to the world space origin. In the default position, the card and stick lie along the positive Z axis, and the white side is pointing in the direction of the Y axis.

Example 1: In orientation R1, the stick is lying along the X axis and the white side is still pointing in the direction of the Y axis. In orientation R2, the stick is lying along the Y axis, and the white side is pointing in the direction of the negative Z axis.

Example 2: In orientation R1, the stick is lying along the X axis and the white side is still pointing in the direction of the Y axis. In orientation R2, the stick is lying along the Y axis, and the white side is pointing in the direction of the X axis.

For these two examples, find the midway positions between R1 and R2 using the following interpolation methods. If doing Euler rotations, assume the rotation is local X then local y then local z (or XYZ in world space). Show a drawing of the stick and card, and also a 3x3 rotation matrix giving its frame orientation.

You can consult together on this assignment but must turn in your own solution.

Questions?:

E-mail wilhelms@cse.ucsc.edu.