Derivation process of perspective projection matrix