General Pivot Point Rotation or Rotation about Fixed Point:For it first of all rotate function is used. Sequences of steps are given below for rotating an object about origin.
The matrix multiplication of above 3 steps is given below Scaling relative to fixed point:For this following steps are performed: Step1: The object is kept at desired location as shown in fig (a) Step2: The object is translated so that its center coincides with origin as shown in fig (b) Step3: Scaling of object by keeping object at origin is done as shown in fig (c) Step4: Again translation is done. This translation is called as reverse translation.
Next TopicWindow
|