Added basic perspective projection support.