Texture mapping in Maya: Making a flan

I wanted to try out texture mapping. I’ve done colour mapping before, but never really layered things like specular, reflection and ambient maps.

I just had awesome waffles at Max Brenners so I thought about modeling a waffle, but in the end I made a flan.

3D flan
3D flan

I started off with a polygon cylinder and scaled the bottom vertices to make the base wider. I then used the Duplicate Edge Ring Tool at the bottom to make two extra edge loops at the base. This was because if I smooth the cylinder without these extra vertices, it will become a sphere rather than a cylinder with rounded edges.

flanMake1

I did the same for the top. I made extra edge loops and moved the upper ones inwards to make a slope. I also made an extra loop on the top surface and moved those vertices downwards so the top is not flat.

flanMake2

I smoothed it and, hurray, it made the edges round.

flanMake2

Now, the default UV map wasn’t what I wanted so I selected it to have a planar mapping. This way I could make texture files that have circles for the top and bottom, and quads for the sides. Below is the flan’s UV mapping.

flan_uv.jpg

I made a texture file in photoshop as below. The brown part is the top of the flan. The top corner edge ring is blurred to show the transition from the caramel at the top to to the creamy bottom.

flan_txt.jpg

I made a Blinn material and attached the texture map to it and the flan looked like this.

flanMake2

Next, I made a CV curve in the side view to make the plate.

flanMake2

I revolved it 360 degrees along the y-axis, and and created a new white Blinn material.

flanMake2

For the syrup, I just made another cylinder and played with the outer vertices.

flanMake2

After playing with the vertices, I smoothed the cylinder.

flanMake2

Rendered, the whole flan was too reflective and specular.

flanMake2

So I made a specular map so that only the caramel-covered top is fairly specular.

flan_spec.jpg

Rendering at this point resulted in the image below.

flan4.jpg

A bit better, but the cream-coloured part was still too reflective. I made the following reflection map.

flan_refl.jpg

Rendered, it looked much better.

flan4_refl.jpg

But the flan was a bit too dark. I wanted some ambiance.

flan_amb.jpg

With the ambient mapping above, it looked heaps better.

flan5_amb.jpg

But the flan was perfectly shaped. It needed some bumps for it to look more real.

flan_bump.jpg

Adding the bump map above, the flan now looked like this.

flan5_bump.jpg

Additionally, I added a bump map for the caramel syrup.

flan_caramel_bump.jpg

I increased the value of the ambiance of the plate because it was a bit too dark. Now, the glowing result :)

3D flan
3D flan
Advertisements

One Comment Add yours

  1. I’m a big flan of this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s