|
|
|
Introduction
|
|
For my final project, I wanted to render something that would display some of the interesting properties of dielectrics like caustics (the bright spots on the table under the glass) and refraction (the way light bends, as seen in the distortions of the edge of the bottle through the glass). I chose to render my favorite drink, Maker's Mark on the rocks. There has been a fair amount of alcohol rendering in computer graphics in recent years (esp. Cognac), but whisky - bourbon in particular - has been grossly underrepresented. I am trying to do my part to make sure that this does not continue. This has required more effort than I initially guessed, but I have enjoyed both the implementation and 'hands on' research involved with rendering bourbon. The following components were implemented for this project and used in the above images:
|
|
Object Modeling
|
| All of the objects in the scene were modeled using Maya. The shape of the ice cubes was based on the glass ice cubes that are used in beverage photography and they are approximated as homogeneous objects. The bottle is based on an actual bottle of Maker's Mark as is the glass. The most difficult part of the modeling process was partitioning the triangles into groups with the correct dielectric interfaces. |
|
Getting Beer's with Fresnel
|
|
Using Beer's Law (approximates how light gets colored within a medium) and Fresnel terms (how much light is reflected from a surface versus how much light is refracted) makes very subtle differences in the final image, however without them dielectrics (esp. colored liquids) look very artificial. The image at the right shows the same scene rendered without using Beer's Law (however the Fresnel terms are still being computed), and notice how murky and artificial the liquid looks. It is easiest to see in the color of the ice cubes and the relative color of the liquid in the neck of the bottle versus the liquid in the body of the bottle. Side by side comparison The absorption coefficients for the whisky were estimated through a painful, trial and error process. Also, the wax uses fresnel terms to control the strength of the reflection. | ![]() |
|
Photon Mapping
|
|
The caustics in the images were generated using photon mapping. They are subtle in the first image but important for realism. Notice in the image on the left how dark the shadows are and how dark the table is under the glass and bottle. Both of these regions are lit via caustics. In the second image (on the top of the page) the cup is floating and a very bright light is strategically placed to provide very visible caustics. It might not be physically possible (given the whole gravity thing), but hey...what is the point of doing a caustic map if you don't have a gratuitous caustic image? Incorrect but interesting looking caustics | ![]() |
|
Environment Mapping
|
| The environment mapping was done using the methods by Paul Debevec. The map is from the kitchen at 2213 Vine Street. The lighting of the scene was approximated using Structured Importance Sampling. Environment mapping adds a great deal of realism to scenes (esp. those with many reflective surfaces). |
|
Depth of Field
|
|
The depth of field is hardly visible in the final image, however the soft edge at the end of the table adds a little sense of realism. Notice in the images without depth of field (such as in the photon mapping section), have a sharp edge in the back that is a little distracting. The image on the left has a larger lens and thus more pronounced depth of field. Depth of field test scene | ![]() |
|
Acceleration Structure
|
|
Random Image
|