Download - Coke Bottle Tutorial for Maya
-
7/22/2019 Coke Bottle Tutorial for Maya
1/42
Introduction
This tutorial is intended to show you how to make a Coca-Cola bottle using Maya. Although,
you may think making a bottle is trivial, it is easy to overlook some of the tiny details that makeyour final image more desirable to look at. I will also try to give you some tips, which can help
with your workflow when you are modeling in Maya.Alright, we start off by trying to find as
many references as we can to make our life easier during the modeling process. Here are some of
the images I found on the Internetsimply search for "Coca-Cola Bottle in Google and youshould find tons of good references (Fig.01).
Fig. 01
In this tutorial we are going to make the "Coca-Cola Classic since it has some complex details.
We divide the model into three major parts (Top - Middle - Bottom). This way it is easier for usto deal with each part and also decide what technique to use next (Fig.02).
-
7/22/2019 Coke Bottle Tutorial for Maya
2/42
Fig. 02
Step 1
-
7/22/2019 Coke Bottle Tutorial for Maya
3/42
First we need to set up our "Image Plane for the side view in Maya (Fig.03).
Fig. 03
Make sure that the image plane's Center X is a negative value so it won't block your model
(Fig.04).
-
7/22/2019 Coke Bottle Tutorial for Maya
4/42
Fig. 04
Step 2: Modelling the middle part
To model the middle part we simply start with an "EP curve tool to create half silhouette of the
bottle. While EP Curve is selected, hit insert and make sure the pivot is somewhere in center of
the bottle (Fig.05).
http://shop.3dtotal.com/training/training-ebooks-maya/joan-of-arc-complete-character-creation-maya.html -
7/22/2019 Coke Bottle Tutorial for Maya
5/42
Fig. 05
Next select Surfaces > Revolve and leave it set to the default options. Now, we have a base shape
to work with (Fig.06).
-
7/22/2019 Coke Bottle Tutorial for Maya
6/42
Fig. 06
Since this shape is a NURBS surface, we need to convert it to a Polygon mesh. So go to Modify> Convert > "NURBS to Polygons Options. Set the options to the following and then hit Apply:
Type:Quad Tessellation method:General
U type:Per span # iso params
Number U:1
V Type:Per span # of iso params
Number V:3
-
7/22/2019 Coke Bottle Tutorial for Maya
7/42
The reason we want the U, V to be set (1, 3) is because we don't want our poly shape to lose
much of its detail while still as a Low Poly. If you compare the poly version to the originalNURBS surface, you can clearly see that we have lost some of the curvature, but don't worry as
we can apply a mesh smooth on it later (Fig.07).
Also, we no longer need the NURBS surface, so simply just delete it.
Fig. 07
Now under Edit Mesh select "Insert Edge Loop Tool and add some new edges around areas asyou see in the following image. Then, use Select >Select Edge Loop Tool to select the new edges
we just made and simply hit "R and scale them towards the inside a bit. The reasonwe added
these edges is to give more depth to those areas, as you can see from the reference image
(Fig.08).
-
7/22/2019 Coke Bottle Tutorial for Maya
8/42
Fig. 08
Here is what you should have by now.
Tip:While the middle object is selected, press3 on your keyboard to see the poly in smooth
preview. Press "1 to go back to normal mode. Please note that this feature is only available forMaya 2008 and higher (Fig.09).
-
7/22/2019 Coke Bottle Tutorial for Maya
9/42
Fig. 09
Select half of the object and delete it, then "Duplicate the other half as an instance (Fig.10).
-
7/22/2019 Coke Bottle Tutorial for Maya
10/42
Fig. 10
Next, move the vertices according to following image. Try your best to match the vertices as close as
possible to the reference image (Fig.11).
-
7/22/2019 Coke Bottle Tutorial for Maya
11/42
Fig. 11
Step 3: Modeling the top part
-
7/22/2019 Coke Bottle Tutorial for Maya
12/42
Select the edges of bottle and extrude them, similar to the following images (Fig.12Fig.14)
Fig. 12
-
7/22/2019 Coke Bottle Tutorial for Maya
13/42
Fig. 13
-
7/22/2019 Coke Bottle Tutorial for Maya
14/42
Fig. 14
Modeling the Cap and Treads
We start off by making a poly cylinder with the following parameters:
Radius:2.72
Height:2.484
Subdivision Axis:20
Subdivision Height:1
Subdivision Caps:1
Select the lower vertices and scale them towards the outside a bit, then delete the lower cap. Select the
lower border and extrude it towards the inside. Use the following image as a guide (Fig.15).
-
7/22/2019 Coke Bottle Tutorial for Maya
15/42
Fig. 15
Make a "poly Pipe and position it under the cap. At this point, you're almost done with the cap (Fig.16).
Fig. 16
-
7/22/2019 Coke Bottle Tutorial for Maya
16/42
Now, make a triangular tread and align it with a cap door. You can use Vertex snap tools by holding "V
to make sure the tread is aligned properly. Make sure the pivot is exactly in the center of cap. Press "E
to switch to rotate mode then "Duplicate it to make 20 treads (Fig.17).
Fig. 17
Step 4: Modeling the bottom part
There are many different techniques that can be used to tackle the bottom part. Here is one of them I
came up with. First, make a simple "poly Sphere and set its parameters tothe following:
Radius:7.5321
Subdivisions Axis: 20
Subdivision Height:8
Make sure the sphere radius is close to the radius of middle part; don't worry if they don't match exactly
inch by inch together because we will merge them together later. Also, you notice that the number of
subdivisions differs for each part. Again, don't worry about that as later we will add and delete some
edges to the middle part to match it with the bottom part (Fig.18).
-
7/22/2019 Coke Bottle Tutorial for Maya
17/42
Fig. 18
Use Select >Select Edge Loop Tool to add a new edge to the sphere where the middle part ends, so we
can delete the upper half of the sphere (Fig.19).
-
7/22/2019 Coke Bottle Tutorial for Maya
18/42
Fig. 19
Select all vertices at the bottom of sphere and scale them on the "Y axis until they are lined up.
While they are still selected move them up on the "Y axis to line up with its upper edge. See thefollowing image and use it as your guide (Fig.20).
-
7/22/2019 Coke Bottle Tutorial for Maya
19/42
Fig. 20
Here is what you should have so far. Press "3 to see the object in smooth preview (Fig.21).
-
7/22/2019 Coke Bottle Tutorial for Maya
20/42
Fig. 21
Next, add new edge loops at the end of the bottom part. Assign a red color material to those polys that
we don't need to work with. This way, you can focus on other parts and won't get confused later when
we extrude the polys between them (Fig.22).
-
7/22/2019 Coke Bottle Tutorial for Maya
21/42
Fig. 22
r
Now, try to extrude the polygons at the center to something similar to following image (Fig.23).
-
7/22/2019 Coke Bottle Tutorial for Maya
22/42
Fig. 23
Next, we select the polys between those polys we already colored and extrude them two times towardsthe inside. I have selected the edges where the second extrude should occur for your guide (Fig.24).
-
7/22/2019 Coke Bottle Tutorial for Maya
23/42
Fig. 24
Here is what we have so far. I also assigned a nice default Blinn shader to it so we no longer see
the red areas (Fig.25).
-
7/22/2019 Coke Bottle Tutorial for Maya
24/42
Fig. 25
Step 5: Connecting parts together
First we merge the two halves of the middle part together. Simply combine and merge them.
Now it is time to connect the middle part to the bottom and merge them together. As we saw
earlier in this tutorial, the number of subdivisions differed for both the middle and bottom parts.To fix this problem, we add some new edge loops to the middle part to match the edges of
bottom and then we simply delete all the old edges that don't match (Fig.26 & Fig.27).
-
7/22/2019 Coke Bottle Tutorial for Maya
25/42
Fig. 26
Fig. 27
-
7/22/2019 Coke Bottle Tutorial for Maya
26/42
Once you are done, merge all the vertices together and extrude the middle towards the inside
where the middle and bottom part are connected. Call the new object "Bottle (Fig.28).
Fig. 28
Step 6: Adding extra details to middle part
In this step, we are going to add more definition to the middle part. Simply, move the vertices
and extrude their faces to make a basic slot. In this model we need to have four slots (Fig.29).
Fig. 29
-
7/22/2019 Coke Bottle Tutorial for Maya
27/42
Step 7: Combining parts
This is a simple step. Combine all the objects except the cap's treads and call it "Coca_Bottle or
whatever you like. The reason we don't combine the treads with the rest of objects is that oncewe apply mesh smooth to them they get rounded and that is not something we want. Also, make
sure you delete the history of all of the objects before combining them.
Tip:if you feel the bottle needs to be a bit fatter, make sure you hold "Ctrl while scaling the
object on the "Y axis. This way you are scaling the object on both the "X and "Z axis
simultaneously.
Here is the final model after applying mesh smooth. At this stage we are done with the modeling
part (Fig.30).
-
7/22/2019 Coke Bottle Tutorial for Maya
28/42
Fig. 30
Step 8: UV Mapping
-
7/22/2019 Coke Bottle Tutorial for Maya
29/42
To setup the UVs I used "UV Layout 2. Select "Coca_Bottle in the scene and export it as an
obj. Load the obj file in "UV Layout 2 and layout the UVs as follows (Fig.31). I am not going
to cover how to use UV layout in this tutorial, but if you are not familiar with it you can easilylearn it by following the tutorials that's on their website. Here is the link:
http://www.uvlayout.com/index.php?option=com_wrapper&Itemid=97
Fig. 31
Once you are done with the UVs, export the model back into Maya. UV mapping the cap's treads
can be easily done in Maya using simple planar maps. We apply a planar map to one tread and
then we transfer its UV information to the rest of the 19 treads. This way all the UVs pile upexactly on top of each other (Fig.32).
http://www.uvlayout.com/index.php?option=com_wrapper&Itemid=97http://www.uvlayout.com/index.php?option=com_wrapper&Itemid=97http://www.uvlayout.com/index.php?option=com_wrapper&Itemid=97 -
7/22/2019 Coke Bottle Tutorial for Maya
30/42
Fig. 32
Transfer UV maps
To transfer one object's UV map to another object, select the object that has the proper UV
layout and then the second object with no proper UV layout and go to Mesh > Transfer Attribute
Options. In this case, set the options as following (Fig.33).
Do this step for the rest of the 19 treads. Once you are done, all the UVs should pile perfectly up
on top of each other. Merge all the treads to one object. Call the new object "Cap's Tread
-
7/22/2019 Coke Bottle Tutorial for Maya
31/42
Fig. 33
Step 9: Exporting "Coca_Bottle UV to Photoshop for bump
mapping
Select "Coca_Bottle, and then go to the UV Texture Editor. Once UTE pops up, go to Polygons> UV Snapshot. Set its options to those shown in Fig.34.
-
7/22/2019 Coke Bottle Tutorial for Maya
32/42
Fig. 34
Step 10: Setting up a UV as a guide in Photoshop
Once the UV image is loaded in Photoshop, press "Ctrl+I to invert the colors. Double click on
the lock icon to pop up the new layer window. Call the new layer "UV_reference and hit ok
(Fig.35).
-
7/22/2019 Coke Bottle Tutorial for Maya
33/42
Fig. 35
While the "UV Reference layer is selected, change its style from "Normal to "Multiply so that
you can see the layers underneath. Make a new layer under the "UV Reference and call it
"Bump (Fig.36).
-
7/22/2019 Coke Bottle Tutorial for Maya
34/42
Fig. 36
Now, we need to gather some images together to draw the Coca-Cola logo, and small dots on our
bottle. To make the small dots under the logo, I used the following texture (Fig.37).
-
7/22/2019 Coke Bottle Tutorial for Maya
35/42
Fig. 37
The rest of the small dots can be simply made by using the "Ellipse Tool in Photoshop and
duplicating them using "Alt+Drag (Fig.38).
Fig. 38
Here is a Coca-Cola logo that I found on Google, which is a nice high resolution image with
transparency. Simply, convert the color to white with a black background (Fig.39 & Fig.40).
-
7/22/2019 Coke Bottle Tutorial for Maya
36/42
Fig. 39
Fig. 40
Now that we have all the images we need, you can start aligning them on the UV we exportedfrom Maya. Here is what I came up with (Fig.41).
-
7/22/2019 Coke Bottle Tutorial for Maya
37/42
Fig. 41
Save the final image in tga format and name it "CocaCola_Bump.tga.
Step 11: Setup bump map in Maya
Simply make a blinn shader and apply our texture ("CocaCola_Bump.tga) to its Bump mapping
section. Try to reduce the "Bump depth to something around 0.040. Also, make sure reflectionis set to zero (Fig.42Fig.44).
-
7/22/2019 Coke Bottle Tutorial for Maya
38/42
Fig. 42
-
7/22/2019 Coke Bottle Tutorial for Maya
39/42
Fig. 43
-
7/22/2019 Coke Bottle Tutorial for Maya
40/42
Fig. 44
-
7/22/2019 Coke Bottle Tutorial for Maya
41/42
And here is the final Coca-Cola bottle (Fig.46Fig.47).
Fig. 46
-
7/22/2019 Coke Bottle Tutorial for Maya
42/42
Fig. 47
Conclusion
I hope you have enjoyed this tutorial and the information in it was useful for you. Also keep in
mind that the technique that I describe here can be applied in a similar way to any 3D packages
out there. Please feel free to email me at in case you have any questions or problems regarding
this tutorial.