Ray-transfer functions for camera simulation of 3D scenes with hidden lens design