added support for camera transformation