Wednesday, June 20, 2012

Mp3 player part 04last)

Finally, this is the last part for our Mp3 Player Tutorial. Part 4. In the first 3d Modeling tutorial we've created the Mp3 Player, in the second 3d modeling tutorial we've created the Earphone, in the third 3d modeling tutorial we've arranged the scene. It's now time to learn how to create materials, lights and how to change the 3d rendering settings. Let's move on.

Step 1: Continuing where we left off with our previous 3d modeling tutorial, the Scene Arrangement, in this 3d Rendering tutorial we will create light. From Create, Lights chose the VRayLight(since our 3d Rendering engine is VRay) and create one in left view. Change the Multiplier to 3.5, check the box for Invisible and change the Subdivs to 16.

Step 2: From the main toolbar select Mirror, change the offset to 60cm, the Clone selection to Copy and click OK. Change the Multiplier of the new created light to 7.

Step 3: We will now create the main plastic material. Open Material Editor and load a VrayMtl in the second slot. Name it White_Plastic. Change the Diffuse color to white(RGB:255,255,255), the Reflect color to dark grey(RGB: 18, 18, 18), click the "L" next to Highlight Glossiness and change the amount to 0.9.

Step 4: Apply the white plastic material to all of our Objects except the Scene plan and the Screen Glass. Hold CTRL to select them one by one or press "H" to select from scene. First click Assign Material to selection and after that click Show Standard Map in Viewport.

Step 5: Now we will create the Metal material for the earphone's jack. Again, load a new VRayMtl, this time in the third slot. Name it Metal. Change the Diffuse color to Black(RGB: 0, 0, 0), the Reflection Color to Grey(RGB: 200, 200, 200), the Refl. glossiness amount to 0.9, the Subdivs to 16. In BRDF rollout menu change the Type to Ward, the Anisotropy amount to 0.7 and the Rotation to 0.5.

Step 6: Now select the jack, go in selection mode, select the polygons i've selected and apply the metal material to them.

Step 7: Since this is a beginners 3d rendering tutorial we will not create very "fancy" materials, so we will apply the same metal material to the inner polygons of the Earphones. In selection mode use Element to select the polygons. Apply it to both earphones. 

Step 8: In this next 3d Rendering step we will create the screen glass. Load a new VrayMtl in the fourth slot and name it Glass. Change the Diffuse color to Black(RGB: 0, 0, 0), the Reflection color to White(RGB: 255, 255, 255) and the Refract color to White(RGB: 255, 255, 255). Check the Box for Fresnel reflections and change the Refract IOR to 1.3.

Step 9: Select the screen, change the Shell Outer amount to  0.05cm, move it a little bit up to not overlap with the screen and apply the glass material. 

Step 10: For the Display load a VrayLightMtl. Change the Multiplier to 3 and where it says None select Bitmap and load this imag: Display(click to open).

Step 11: Select the Mp3 Player, go in Polygons selection mode and select the screen polygon. Apply the Display Material to it. If you press F2 on your keyboard with the screen polygon selected You can see that the result is not what we are aiming for, we will fix that in the next step.
Note: When you have a Polygon selected you can see trough it by pressing F2 

Step 12: With the screen polygon still selected apply a UVW Map. You can see now that everything it's OK.

Step 13: To continue with this 3d Rendering lesson we need to create two more material. One for the main button and one for the Hold button. Duplicate the white plastic material two times. Click and drag it to an empty slot. Rename the two new create materials, one Main_Button and one Hold_button.

Step 14: Select the Hold button material, and in Maps rollout menu click None next to Bump, select Bitmap and load this image: Hold Image(click to open).

Step 15: Since we will be using the UVW Map modifier again we must Collapse the one used before. So Select the Mp3 Player right click on UVW Map and chose Collapse to. In the Warning window chose YES.  


Step 16: Select the Hold button polygon now and apply the material. Again, the result it's not that great, to fix it apply a new UVW Map modifier with the button polygon selected. Change the Mapping Type to Box.

Step 17: You Should now have something like this:

Step 18: Collapse to... the UVW modifer again because we will use another UVW Map for the main button. In Map, Bump add this image:Main Button(click to open) to the main button material. Select the Polygons and apply the material to them.

Step 19: With the same polygons selected add a UVW Map modifier. Now the button should be OK. Collapse to once again.

Step 20: In the next image you can see my test 3D Rendering setting for VRay. Press F10 and change the Render Setup like i've did. For Image sampler(Antialiasing) change the Type to Adaptive DMC and the Antialiasing Filter to Catmult-Rom. In Adaptive DMC image sampler change the Max Subdivs to 8. In Color Mapping change the type to Exponential, check the box for Sub pixel mapping and Camp out. Now in Indirect Illumination check the box for "ON" to enable it, set the primary bounces to Irradiance map and secondary to Light Cache . For Iradiance Map change the Current Preset to Medium, check the box for Show calc. phase(check this in Light cache settings also) and Show direct light. In Setting change the Noise threshold for DMC Sampler to 0.05, Min samples to 16 and Global subdivs multiplier to 4. Set the Render region division to 32 for X and Y. If you don't want to see the Vray log every time you do a 3d Rendering test uncheck the box for Show window.

Step 21: If you press F9 to Render, this is how your 3ds Rendering image should look:
You should have more light coming from the right because i forgot to change my right VRay light multiplier to 7. 3D Rendering: 

Step 22: For this 3d Rendering example we will add another VRay light to have some reflections on the screen glass. Go to Create, Lights and create a VRay light in Top view. It's important to position it like i've did because the position of the light affects the reflection. Change the Multiplier for this light to 3.

Step 23: For the last step of this 3d rendering process go to Camera view, press F10, in Common tab from Output size change the resolution to 1200x800 or what ever you want. Press F9 to Render. Where is our 3D Rendering Result:

i found this tutorial from

Mp3 player part 03

Part 3 - 3d Modeling Tutorial Scene Arrangement 

Hi guys, this will be the last 3d modeling part of our Mp3 Player tutorial. The modeling process it's over. Next we will create materials, add lights and render the scene. So let's not waste any more time and start this 3d modeling tutorial.


Step 1: To start  this 3d modeling tutorial first we need to make VRay our primary rendering engine. Open Max and from the main tool bar select Rendering>Render Setup or press F10 on you keyboard.

Step 2: In Common tab click on the 3 dots next to Production: Default Scanline Renderer, chose VRay and click OK.
Step 3: To continue this 3d modeling tutorial from Create, Geometry select the Plane and create one in Top view with the Length of 40cm and the Width of 60cm. Length and Width segments set to 1. Now convert it to Editable Poly by right clicking on it and selecting Convert to>Convert to Editable Poly.

Step 4: In Modify tab, from Selection rollout menu select the Edge mode. Select the edge from the back and In Left view using the Select and Move tool hold down SHIFT and move the edge up to copy it and next move it to the right to copy it again. MOVE+SHIFT=COPY

Step 5: Select the back two edges, one front the top, one from the bottom and in Edit Edges rollout menu click the box next to Chamfer. Change the amount to 5.0cm, the segments to 3 and click the check mark for OK.

Step 6: From the Modifier list apply a Turbosmooth modifier, change the Iterations to 2 and check the box for Isoline Display.

Step 7: The next step in this 3d modeling tutorial is to Merge/Import our objects(mp3 player, earphones) created in our previous 3d modeling tutorials. To do this click on the green 3ds max logo in top left corner, Import, and click on Merge.

Step 8: Select the Mp3 Player created in our previous 3d modeling tutorial and click Open.

Step 9: In the new window click All and click OK.

Step 10: Repeat this process for the Earphones.

Step 11: Now this step will take a little longer. So using these 3d modeling tools: Select and Move, Select and Rotate, Select and Scale arrange the Objects in Scene like i did below. Take your time, move, scale and rotate them around until you have a nice scene with no overlaps.
Close-up:

Step 12: To add a camera in this 3d modeling tutorial go to Create, Camera create a Target Camera and position it like I've did.

Step 13: Hit "C" on your keyboard to go to Camera View, right click on Camera in the top left corner of the viewport and click on Show Safe Frame the check it. Using the tools in the lower right corner position your camera. I've used the Dolly Camera, Truck Camera and Orbit Camera.

Step 14: Select the Material Editor from the main toolbar or press "M". Select the first material, click on Standard, from the new windows select VRayMtl and click OK.

Step 15: Select all the objects from scene by pressing CTRL+A or by going to Select from Scene(shortcut key "H") selecting all the objects and clicking OK.

Step 16: Apply the VrayMtl to all of our objects. To do this click on Assign Material to Selection in Material Editor, after that click on Show Standard Map in Viewport.

Step 17: In the last step of this 3d modeling tutorial All you need to do now Save your work because we will continue from here in the next tutorial. This is what you've got so far:

As i said before, this was the last 3d modeling part of our tutorial.



Part 2 - 3D Modeling the Earphones

Part 2 - 3D Modeling the Earphones 

Continuing with the Mp3 Player 3D modeling tutorial, in this second part you will learn how to create the Earphones. 3D modeling tools such as Extrude, Bevel, Connect, Chamfer, Extrude Edges and Modifiers such as Turbosmooth will be used. After we are finished with this all that is left is to arrange our scene and create the materials and the studio setup. So let's move on.


Step 1: To begin our 3d modeling tutorial Open or Rest 3ds Max. In the top right corner, from Create, Geometry create a Cylinder with the Radius of 1.0cm, the Height of 0.3cm, change the Height Segments to 2, the Cap Segments to 8 and the Sides to 18. Move it to the center of the Grid. To do this, simply select the Select and Move tool and change the X,Y,Z to 0 in the bottom of the screen.

Step 2: To convert the cylinder to Editable Poly right click on the screen, Convert to > Convert to Editable Poly. From the Modify tab in Command Panel go in Polygon Selection Mode(shortcut key "4"). Now select the polygons I've selected(hold down CTRL to select the one by one) and click on the little square next to Extrude. First apply an Extrude of -0.005, click on the Plus sign to apply it, then change the Extrude amount to -0.03 an click the check mark to finish.

Step 3: In Perspective view go to the other side of the cylinder. Change the selection mode to Edge(shortcut key "2"), select the edges I've selected, select one from each line and click on Loop, hold down CTRL and click on Remove. You must hold down CTRL because you need to remove also the vertices associated with the edges.

Step 4: In Bottom view(to change the viewport press "V" on your keyboard) select the Polygons I've selected and move them up a little bit like you see below using the Select and Move tool.

Step 5: Now in Front view move the same polygons down.

Step 6: Select the Select and Scale tool, click on Percent Snap Toggle to activate it and scale down the polygons in all 3 X,Y,Z axis to 90. The center yellow triangle must be highlighted to scale down correctly.

Step 7: Extrude the Polygons with an amount of 1.0cm.

Step 8: Change the selection to Edge and make an loop edge selection. Select on edge and click Loop. Chamfer the edges with an amount of 0.1cm and 2 Segments.

Step 9: Go in Vertex selection mode(shortcut key "1") and select the Vertex in the center. From Soft selection rollout menu check the box for Use Soft Selection. Change the Falloff amount to 0.5cm and the Bubble to 0.75. Using the Select and Move tool move it don a little bit until you have a nice curve. When you're done uncheck the box for Use Soft Selection.

Step 10: In Edge mode select the edges I've selected below. Use the Loop tool again. Chamfer the edges with an amount of 0.01cm and 2 Segments.

Step 11: Like we did in step 9 select the center Vertex again and by checking use Soft Selection box and changing the Falloff to 1.0cm move it up, not to high, to create a nice curve.

Step 12: Press 2 to go to Edge selection mode and select the edges you see selected below using Loop.

Step 13: Click on the little box next to Chamfer, change the chamfer amount to 0.07cm and the Segments to 2 and click on the Check mark for OK.

Step 14: In step 2 I've forgot to tell you to Detach the polygons, so we'll do it now. Select the Polygons again and from Edit Geometry rollout menu click on Detach, check the box for Detach as Element and click OK.

Step 15: Continuing with our 3d Modeling Tutorial we will create a new Cylinder in the Left view with a Radius of 0.275cm and the Height of 1.5cm. Change the Side number to 12. Align it like I've did.

Step 16: Convert the Cylinder to Editable Poly. Right click on it Convert to > Convert to Editable Poly. In Polygons selection mode select the two polygons from each end of the cylinder and Delete them by pressing Delete on your keyboard.

Step 17: In Border selection mode(shortcut key "3") select the border, hold down SHIFT and move it to the left to copy it.

Step 18: Using Select and Scale tool scale the border up a little bit like you see below.

Step 19:  With Select and Move tool copy the border again to the left by holding down SHIFT.

Step 20: Scale down the border in all 3 X,Y,Z axis to 60(see the bottom of the screen). Remember, the center triangle must be highlighted when you scale in order to scale down in all 3 axis direction.


Step 21: Like we did in previous steps copy and scale down two more times.

Step 22: With the same border selected click on Cap in Edit Borders rollout menu.

Step 23: Selecting the Polygons resulted from the caped border Inset it with an amount of 0.03cm.

Step 24: Extrude the same polygon with an amount of -1.0cm.

Step 25: In Edge selection mode make an Edge loop selection and Chamfer them with an amount of 0.005cm and 2 Segments.

Step 26: From Edit Geometry rollout menu click on Attach first and then click on the first create cylinder to attach them together.


Step 27: After you make an new edge loop selection Chamfer them with an amount of 0.1cm and 2 Segments.

Step 28: Again make and edge loop selection and Chamfer the edges with an amount of 0.01cm and 2 Segments.

Step 29: See image below and make a Ring selection of the edges. Select one edge and click on Ring. After the click Connect to connect them together.

Step 30: Now with the edges resulted from Connect selected go in Edit Edges rollout menu and click on the little box next to Extrude. Change the Height to -0.1cm and the Width to 0.005cm.

Step 31: The next step of this 3d Modeling Tutorial is to apply a Turbosmooth modifier. So, from the Modifier List select the Turbosmooth modifier, change the Iterations to 2 and check the box for Isoline Display.

Step 32: With one Earphone finished in the next steps of this 3d Modeling tutorial we will create the jack.
Create a new Cylinder with a Radius of 0.4cm and a Height of 1.2cm. Change the Cap and Height Segments to 1 and the Sides to 12.

Step 33: Convert this Cylinder to Editable Poly like we've did in previous steps. Select the end Polygon and click on the box next to Bevel. Change the Bevel Height to 1.7cm and the Outline to -0.17cm, click the Check mark for OK.

Step 34: Inset the Polygon with an amount of 0.05cm.

Step 35: Using the Select and Scale tool scale down the polygon in the Z axis direction.

Step 36: Extrude the Polygon with an amount of -0.1cm. After that Delete it.

Step 37: Select the edges you see selected bellow using Loop and Chamfer them with an amount of 0.005cm and 1 Segment.

Step 38: Now select one edge and click on Ring to make a Ring selection.


Step 39: Connect the Ringed edges with 9 Segments.

Step 40: Select the 5 edges you see highlighted below and click on Ring. After that hold down CTRL and click on the red square to convert the selection to Polygons.

Step 41: Inset the polygons with an amount of 0.005cm.

Step 42: Extrude the polygons with -0.1cm. Change the Extrusion type to Local Normal.

Step 43: Inset the polygons again with 0.005cm.

Step 44: Select the following edges using Ring and Connect them with 2 Segments and a Pinch of -20.

Step 45: Select the following edges and Connect them with 4 Segments.

Step 46: Extrude the edges resulted from connect with the Height of 0.005cm and Width of 0.025cm.

Step 47: Chamfer the extruded edges with 0.005cm and 1 Segment.


Step 48: Now select the polygon from the other end of the jack. Inset it with an amount of 0.1cm.

Step 49: Extrude the Polygon by 0.1cm.

Step 50: Inset again by 0.1cm.

Step 51: Extrude the Polygon with 1.5cm.

Step 52: Bevel the polygon with Height of 0.1cm and the Outline of -0.07 cm.

Step 53: Now Inset the polygon with an amount of 0.1cm

Step 54: Select the following edges you see selected below. Again, use Loop.

Step 55: Chamfer them with an amount of 0.005cm and 2 Segments.

Step 56: As you learn in previous steps add a new edge by using Ring to select the edges and Connect by adding the edge. Change the Slide to 50.

Step 57: Chamfer the edge resulted from connect with 2 Segments and 0.005cm.

Step 58: From the 3 loop edges select the one in the left and scale it down using the Select and Scale tool in the Z and Y axis direction.

Step 59: Chamfer the edge with 2 Segments and 0.005cm.

Step 60: From the Modifier List select the TurboSmooth modifier, change the Iterations to 2 and check the box for Isoline Display.

Step 61: I've notice that I've forgot to chamfer some edges so select them change the amount to 0.005cm, the Segments to 2 and click the check mark for OK.

Step 62: Select both, the jack and the earphone, click and drag over them or press "H" to select from scene, select them both using CTRL and press OK. Click on the little colored square in the top right corner, select your desired color and click OK.

Step 63: To continue with this 3d Modeling Tutorial select the Earphone. Hold down Shift and move it down to Clone it.  From Object select Copy,  for number of copies make 1 and click OK.

Step 64: Here is what we've got so far from this 3d Modeling Tutorial:

Step 65: In the next steps of this 3d modeling tutorial we will create the Earphones cord/line/cable. So, go to Create, Shapes and select the Line. Create i line like I've did by click on the screen. Right click to end the line. Remember this is not the exact size of the cable, I'm only showing you how to do it. So you want to make it larger.

Step 66: Select almost all the vertices except the end ones. 1 one from the top and, 2 from the bottom end and convert the to Smooth or Bezier, as you wish. I've chosen Smooth but with Bezier you will have more control over you vertices by using the handles. Now move them around to have some nice curves.

Step 67: In the Modify tab, form Selection mode select the Spline. Now select our spline from the viewport. Apply an Outline of 0.08cm but I've notice this is kind of a small amount, so make it 0.15cm or 0.2cm. 


Step 68: In Segment selection mode select the two segments for each end and Delete them.

Step 69: Select the two vertices from the end and move one in every earphone. Change the vertex mode to Bezier corner and using the handles adjust the position.
Note: You can see in the left view that the cable of the earphone is very flat, so if you insert in into a scene you will want to move the vertices around to have some curves.  

Step 70: For the Final step of our 3d Modeling tutorial go to Rendering Rollout menu and check the box for Enable in Renderer and Enable in Viewport. Make the type Radial, Change the Thickness to 0.078cm or higher if you chose a higher Outline amount in previous step.

Step 71: We will have two extra steps for this 3d modeling tutorial. Since we've applied Turbosmooth we want or Objects to formed by quads. Select the earphone and select every other edge and click Remove like you see below. Do the same thing for both of the earphones.

Step 72: To the exact same thing like we did in step 71 only this time on the other side.

Good job. This 3d Modeling Tutorial of the Earphones is done. In the next part we will arrange the Objects in scene. Here is our 3d Modeling result so far: