Is it possible to make an optically functional camera lens in cycles?
I already tried things like this, but on a much smaller scale. If you want to be sure that your project works, you should try Luxrender because it is based on a physical simulation.