"IGM" <iar### [at] gmailcom> wrote:
> Is there a way to apply a basic blur to the image without external apps, to
> avoid the unrealistic sharpness of objects in the focal plane?
This is one of the things I was exploring with the Fourier transform.
Apparently "ALL" graphics packages accomplish many of their tasks using the
results of a 2D FFT.
Mathematically, applying a Gaussian blur to an image is the same as convolving
the image with a Gaussian function. This is also known as a two-dimensional
Weierstrass transform. By contrast, convolving by a circle (i.e., a circular box
blur) would more accurately reproduce the bokeh effect. Since the Fourier
transform of a Gaussian is another Gaussian, applying a Gaussian blur has the
effect of reducing the image's high-frequency components; a Gaussian blur is
thus a low pass filter.
So, you might be able to use that info for something, or come up with some other
clever method to fake it.
Things that come to mind are:
a thin clear sheet or lens in between the scene and the camera with an IOR > 1
a plane with some sort of AOI
a sheet or plane with a normal function
Taking a peek at:
you might be able to do what folks do to create a Voronoi diagram - use cones to
fill a space.
So, what I envision is "scanning" the rendered image with eval_pigment() and
placing a semi-transparent cone every 3rd POV unit to a achieve a blurring
Perhaps add a function for the z-position so that the cones are higher the
farther away from the focal center.
Maybe something with concentric circles.
Obviously the clear sheet/lens would give you the smoothest result.
The rest are just things people might be inspired to fiddle with to create some
interesting and perhaps unexpected artistic effects.
Post a reply to this message