Sunday, December 15, 2013

Spectral Rendering Part II - UV Lighting and Fluorescence

My latest feature for FancyRay was the introduction of Fluorescent materials.  Fluorescent materials work by first absorbing the incoming frequencies of light at varying degrees based on its unique wavelength absorption function, and then modulates the absorbed frequencies by a predetermined mapping function from absorbed -> emitted. This mapping function, shifts the wavelengths towards higher values and modulates their intensities.


Scene rendered using normal daylight spectrum (CIE Standard Illuminant D65)


And here is the scene again rendered using a Black Light spectral power distribution


Thursday, December 12, 2013

Aperture Shape and Bokeh

Up until now the default aperture shape has been a simple disk, however now the aperture shape can be directly changed by the user. Some examples of possible shapes include triangle, diamond, pentagon and other higher order polynomials.

The main effect of this is that out of focus highlights in the scene will take on the shape of the aperture. This effect is known as "bokeh."

Here are some images demonstrating the effect.

Here is a heavily out of focus image with a triangular aperture. Notice the highlights on the bubble and the ball in the background appear triangular.


And here is the same scene with a diamond shaped aperture




Sunday, December 1, 2013

Filtering

This is a simple extension to FancyRay which allows the user to add in different filter types to the final image rendering. Here are some filters applied to a Cornell Box with two bubbles.

Original


     GrayScale

Sepia

Negative