Cutting Salami
Felix Czerner
-
Like every good student, I love to procrastinate instead of doing homework. Preparing and eating food is a great activity to distract yourself from being productive. Since cooking is hard, you may want to look at pictures of food instead.
Thats the concept of my image. Its simple and honest. - The base of the scene is a wooden board. On top are two pieces of toast, a salami sausage that is being cut in half and a basil-like plant. Infront is an empty wine glass.
-
To achieve a wood texture I have modified perlin.cpp to allow different frequencies in every dimension. This only works in unity directions. To solve this I added the rotation coordmapper rotate.h which rotates the coordinates.
The toast and salami both are instances with image textures. The toast texture is mapped precisely to align the texture with the shape. The cutoff pieces of the salami are consistent with rest of the sausage. Both are achieved by transforming the texture coordinates with the inverse of the instance transformation.
The basil, glass, body of the sausage and the knife handle are imported with smooth triangles.
The salami skin is a regular perlin noise. Most object have the phong material. The knife blade has a mirror material. The baground wall is a fuzzy mirror, giving the scene a natural background. The camera has depth of field, focussing on the knife.
The image is rendered in main/rc.cpp using a sampling rate of 1000; - I have modeled every object myself. The only third party material is the toast texture and the salami texture. Both have been modified.
