The synthetic image generation with the lens effect consists of two consecutive processors: the hidden-surface processor, and the focus processor. The normal ray-tracing algorithms are used in the first processor. The second processor computes Lommel's function, which is an infinite series of Bessel functions. In order to avoid the complicated calculation and the huge memory consumption, an approximation method based on the light particle theory is developed. No noticeable differences can be detected between the results from the approximation method and those from the exact calculation.
Computer graphicsSynthetic image generationLens effectBlurry imageLight particle theoryCamera model