In this part of the series, you'll create UVs for the Shark using the UVW Unwrap modifier and apply textures.
In this latest series, you’ll learn how to create a believable shark in 3D Studio Max. In part 1, author Soni Kumari will walk you through the entire process of modeling the shark’s body, fins, mouth, eyes and teeth using 3D Studio Max’s standard poly modeling tool-set. Later parts in the series will cover UV Mapping and Texturing, as well as creating a versatile and animation friendly rig for the Shark.
1. UV Mapping the Body
Let’s start 3ds Max and open the "Complete Shark Model.max" file which we saved at the end of the first part of this tutorial.
With the shark model selected, Right Click on it and then turn off the NURMS Toggle option in the fly out menu.
With the shark polygon mesh selected again, click on the Modify panel option and open the Modifier List, then choose the Unwrap UVW modifier.
Now select the applied Unwrap UVW modifier in the modifier stack, and then click on Face selection mode under the Selection group.
Now select all the faces that make up one half of the shark polygon mesh (on either the left or right side), and then click on the Open UV Editor button to open the Edit UVWs window.
This opens the Edit UVWs window. You will see the Uvs for the selected faces in red. Right now this is not appropriate for applying the texture map, so we will tweak some parameters and options to unwrap it perfectly.
But first, to ignore the back face selection, turn on the Ignore Back Facing option.
Now with half of the shark mesh selected, go to the Projection group and click on the Planar Map projection button.
Open the Edit UVWs window again, and you can now see the new projected UVs in red.
Turn off the Planar Map projection button for now; otherwise we won’t be able to edit the UVs in the Edit UVWs window.
In the Edit UVWs window, click on the Move tool to move the projected UVs and then move them outside of the checker area, as shown in the image below.
With half of the shark mesh still selected, go to the Edit menu in the main menu bar and then click on the Select Invert option (or press Control-I) to invert the selection.
With all the faces on the opposite side now selected, turn on the Planar Map projection once again, as we did previously.
After applying the Planar projection map, don’t forget to turn it off once you have moved the selected faces out of the checkered area in the Edit UVWs window.
With the help of several images, I have prepared this texture image in Photoshop. There are various ways to create such textures, but what I did was use the original blueprint image (side profile) as a background reference layer in Photoshop, and then made the texture using several different skin images.
I have included this texture image in the tutorial folder. However if you want to prepare your own texture, you can do so in Photoshop or another image editing program. Now we just need to adjust the UVs, according to the texture image.
Either press the M key (or click on the Material Editor button on the main tool bar), to open the Material Editor window.
With the first material slot selected, increase the Specular Level and Glossiness values to 69 and 39 respectively. And then click on Maps stack to expand it.
After expanding the Maps stack, click on the Diffuse Color map button to load the texture map.
This opens the Material/Map Browser window. Here click on the Bitmap button.
Now select the "Shark color.jpg" file which has been supplied with the tutorial (or made in Photoshop), and then click on the Open button.
You can now see the texture file in the first material slot.
Now we will apply the texture onto the shark mesh. So with the shark polygon mesh selected, click on the Assign Material to Selection button.
You can see the texture is now applied to the shark mesh, however it is not looking good right now.
Now we have to edit and arrange the UVs of the shark mesh according to the texture image. So open the Edit UVWs window, and click on the texture editing drop down arrow button in the top left corner, as shown in the image below.
You will see it is not displaying the applied texture map in the list. So select Reset Texture List to reset (or refresh) the list.
And then click on the texture editing drop down arrow again. This time it shows the applied map (Shark color.jpg). So now select the Shark color.jpg texture.
Now you can see the texture file is displaying properly inside the checkered area. Now we have to arrange the UVs to match the texture.
With the shark mesh selected in the viewport, expand the the Unwrap UVW modifier and select the Edge selection mode. Then select the first edges loop on the shark's fin, as shown in the image below.
With the fin’s edge loop selected, go to the Tools menu inside the UVWs Editor window and select the Break command (or press Control-B), to break the selected edge loop and separate it from the main mesh.
Next turn on the Polygon selection mode button in the lower menu bar , and then turn on the Select By Element UV Toggle button. Now click on the broken UVs of the fin.
In the same way, also select the first edge loop of the other fin, as shown below.
With the fin’s edge loop selected, again go to the Tools menu inside the UVWs Editor window and select the Break command (or press Control-B), to break the selected edge loop and separate it from the main mesh.
In this way, we have now broken off both fin shells.
Now we will make a shell around the mouth, using the outer edge loop. So back in Edge selection mode, select the mouth’s border edges as shown in the image below.
With the edge loop outlining the mouth selected, go to the Tools menu inside the UVWs Editor window and select the Break command (or press Control-B), to break the selected edge loop and separate it from the main mesh.
Now with the shell selected for one side of the shark's body, go the Tools menu inside the UVWs Editor window, and select the Flip Horizontal command.
We have now flipped the UVs for the shark’s body, and will now try to match them up with the texture image.
Select one of the UVs shells and then with the help of the Move tool, drag the UV shell onto the corresponding image as shown below.
Repeat the same breaking process with the opposite side’s UV shell, as stated in the Step 34.
With the upper UV shell selected, go to the Tools menu inside the UVW Editor window and click on Relax.
This opens the Relax Tool option box. Here select the Relax By Edge Angles option from the drop-down menu, and then click on the Start Relax button. You'll see the selected UVs start to relax.
Here you'll notice one problem. The UVs shell gets flipped again. So with the UVs shell selected, go to the Tools menu and select Flip Vertical, to flip the shell vertically once again.
After flipping the UV shell, we need to arrange it according to the image using the Rotate and Scale tools.
Scale and Rotate the UVs as needed to match them up with the image, but we'll still need to adjust them more to get a proper fit.
The best way to do this is to select each and every Vertex and match them with the image properly.
In this way, arrange all the outline vertices according to the image, as shown below.
We are now finished with one side of the body UVs, as shown in the image.
Next, we'll arrange the other side’s UVs according to the texture, just as we did previously.
So with the UV Shell selected, go to the Tools menu (inside the UVW Editor window) and then click on Relax. In the Relax Tool dialog box, again select Relax By Edge Angles and then click on the Start Relax button. You will see the selected UVs being relaxed.
Also pick each and every vertex of the UV shell and try to match them up with the image properly.
In this way, we have arranged both side UVs properly according to the texture map.
After positioning both body UV shells, you can see the result in the viewport.
2. UV Mapping and Positioning the Fins
Now we will arrange the rest of the broken shells for the side fins. So pick the side fin shells one by one, and then move them onto the corresponding texture image to match it up correctly.
In this way, we have arranged and placed both of the side fin shells according to the image.
Now we will arrange the rest of the small fin shells. So select one of the small fins and place it near its corresponding UVs mesh.
Now go to the Tool menu (inside the UVW Editor window) and this time select Target Weld (or press Control-T).
With the Target Weld tool selected, select a vertex from the small fin shell and then drag it over its corresponding vertex to weld them together.
In this way, weld all the corresponding vertices together.
3. UV Mapping and Positioning the Mouth
We also need to place the inner mouth broken UV shells in the pink area of the image.
Now we need to apply a projection map to the inner mouth UV shells before we can relax them. So select the side mouth shells one by one, and then apply a Planer Map projection to them.
Place both inner mouth UV shells outside the texture area, so we could relax and unfold them properly.
Select any of the side inner mouth UV shells and go to the Tools menu (inside the UVW Editor window), and then click on the Relax command. In the Relax Tool dialog box, select Relax By Face Angles and keep the values of the Iterations at 10, the Amount at 1.0 and set the Stretch to 0.137. Then click on the Start Relax button and then click on the Apply button. You will see the selected UVs are relaxed now.
In this way, we have unfolded and relaxed both sides’ inner mouth UV shells properly.
Now we will correct the mouth area texture. So while in Edge selection mode (inside the Unwrap UVW modifier), select Loop: XY Edges mode and then select the mouth outline edge loop.
With the mouth outline edge loop selected, go to the Tools menu (back inside the UVW Editor window) and select the Break tool.
After braking the mouth UV shell, it looks like this.
In this way, we are done with the shark UVs. Next we'll paint in Photoshop wherever it's required.
4. Rendering a UV Template for Photoshop
It's quite necessary to do some work in Photoshop, as we need to paint and smudge some areas to make the texture seamless.
Therefore we need to create a UV template, so we can work in Photoshop. So again go to the Tools menu (inside the UVW Editor window) and select the Render UVW Template option.
This opens the Render UVWs window. Here set the Width and Height values to 2048 and then click on the Render UV Template button.
We now get a rendered UV template inside the Render Map window. Here click on the Save Texture Image button and save it in .jpg format.
In this way, we have a UV template image we can use for smudging and painting in Photoshop.
We need to paint and patch the texture around the lip area and also remove any seams where required. This may take a long time to rectify and I assume you are all well versed in Photoshop, so I will not cover the process in this tutorial. After making the required corrections, you'll need to save the image, and then update the texture in the Material Editor back in 3ds Max.
5. Creating Materials
Next, back in 3ds Max we'll apply a material to the eyes. So open the Material Editor (M) and select an empty slot. Change the Diffuse color to a dark black, and then change its Specular value to 90, and its Glossiness to 55. Then apply this material to both eyes.
Finally, go back to the main Shark material, and copy the texture map and paste it into the Bump channel with the Bump Value set to 3 or 4. This will add a little bit of bump to the skin texture.
We have now completed the texturing of the shark. For now, save this file as "Complete Textured Shark.max". In the next part of tutorial, you'll learn how to rig and skin the shark. This will certainly be fun!
Don't miss more CG tutorials and guides, published daily - subscribe to Cgtuts+ by RSS.
Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too!Translate this post