7th
04-30-2007, 04:52 AM
Hi,
I am trying to define an asymmetric viewing frustum that has a rotation on it but I can't seem to get the process right. What I want to achieve can be descibed by the following sequence:
1) Define a frustum of (lrtb) -45,-30,45,35.
2) Rotate the frustum by 45 degrees around the centre of the frustum (not the normal).
The effects that I am seeing are either that the frustum rotates around the normal or I get a 'shear' effect (I think because the lrtb are being transposed by the rotation).
Any guidance as to the correct sequence of events to achieve this would be greatly appreciated.
I am trying to define an asymmetric viewing frustum that has a rotation on it but I can't seem to get the process right. What I want to achieve can be descibed by the following sequence:
1) Define a frustum of (lrtb) -45,-30,45,35.
2) Rotate the frustum by 45 degrees around the centre of the frustum (not the normal).
The effects that I am seeing are either that the frustum rotates around the normal or I get a 'shear' effect (I think because the lrtb are being transposed by the rotation).
Any guidance as to the correct sequence of events to achieve this would be greatly appreciated.