![]() |
|||||||||||
|
|||||||||||
|
Just a quick note here. I changed this tutorial from the soda can tutorial to another product tutorial for certain reasons I won't go into here. Sorry for the change but I think you will get allot out of this one too. Enjoy.
This tutorial takes your 2d package designs to 3d in just a few steps. I will cover how to apply your 2d soda bottle design to a 3d bottle. First off we need to make the bottle that your design goes on.
Let’s use the pen tool to make the profile of an glass soda
bottle. The pen tool works like the pen tool in your favorite vector
illustration program. It may be a little tricky at first but don’t
worry about getting it right the first time you put the line down.
You can select the reshape button on the top menu to edit your Bezier
handles. One thing to remember when you are making glass make sure
you put a line down for both the outside of the glass and the inside.
If you don't make the inside line you will end up with a solid piece
of glass. When you get done it should look something like this.
Okay, now we get to spin or “lathe” this profile around to make the full 3d bottle. With your profile line selected choose the “Lathe” tool from the left menu. Once you have it chosen then you will need to click and drag the middle point around a little to get the lathe action started. Once it’s started I always just plug in 360 degrees in the “object” dialogue box. When you have the full 360 degree lathe done choose the main pointer tool to complete the lathe action.
Great now you have a soda bottle! Now let’s make it a glass soda bottle. I chose the standard glass shader from the resource window under the "basic" tab. I did make the color a little more green than the default blue it comes in. With the bottle and glass texture selected click on the apply button in the resource window or just drag the glass shader to the bottle. Great! now you made it glass.
Below are the maps I made in Photoshop for the labe. There are two type of maps you will need to make. The first is the "image" map and the next is the "stencil" map. Each map is as tall as the bottle. The image map is exactly what you think it should be for, the image of the label. The stencil map is used like an alpha channel. All areas in the black part of the stencil map will be rendered transparent.
Let's load them up. First let's load up the image map. In the resource window select "new" and then choose "surface texture" from the drop down. Now let's name the new texture "Label". Now choose "Map".
This is where we choose the file that will be the image of the label.
this is what it looks like when we have it loaded. Click "Ok" from here.
Now we have to load the Stencil map. First look at the white sections on the top and bottom of the sphere pre render here. The stencil map will take care of this. Click on the folder icon at the stencil channel.
Now, with the stencil map loaded in the same way we loaded the image file, make sure the transparent drop down is chosen from the stencil channel. Once you check that off the white of the image map is rendered transparent. Cool huh?
Okay now we get to apply the new "label" shader to the bottle on top of the glass one. When you do that the map will be all messed up. Like this.
All you need to do now is fix how each map is applied to the bottle. Put the glass shader at the top of the texture stack by drag and dropping it to the top. The mix setting in the glass texture needs to be "Inherit". Now move down to the label texture and choose the "map" option I have below and change the "tile" to one.
That's it! I but a ground plane in and set up some lights and a camera and this is what mine looked like. Have fun, I hope this one helps.
|
|
![]() |
||||
| Copyright © 2005-2009 Derek Lofgreen All rights reserved |