Hi,
I want to draw the frustum of one camera in another. To do this I do the following:

gl.glPushMatrix();
//first translate and rotate into the camera view
gl.glRotated(Camera.roll(),0,0,1);
gl.glRotated(Camera.yaw(),0,1,0);
gl.glRotated(Camera.pitch(),1,0,0);
gl.glTranslated(Camera.tx(), Camera.ty(), Camera.tz());


//draw the viewing volume
gl.glColor3d(0, 1, 0);
gl.glBegin(gl.GL_LINES);
gl.glVertex3d(Camera.right(), Camera.top(), Camera.near());
gl.glVertex3d(Camera.left(), Camera.top(), Camera.near());
gl.glVertex3d(Camera.left(), Camera.bottom(), Camera.near());
gl.glVertex3d(Camera.right(), Camera.bottom(), Camera.near());
gl.glPopMatrix();

in order to draw the first camera's frustum in its own coordinates. Then I do the transformations for the second camera and draw the rest. It seems to ignore the transformations for the second camera. Any suggestions?

Thanks