set camera pose using affine