Monday, December 6, 2010

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 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 really hope that you have enjoyed to read and follow this 3d Rendering lesson.

@Berguinho: If you want to fix this problem:http://img97.imageshack.us/img97/6466/final30err.jpgJust select those middle vertices and weld them together, then in edge selection mode select every other edge and remover them. Now you will have only quads and the result should be better.http://img163.imageshack.us/img163/628/final30fix.jpg

@Bruno Torres: When you apply the material to the main button select the polygons, go in to the bump map and don't forget to click the "Show Standard Map in Viewport" icon and apply it. After that add the UVW Modifier with the polygons still selected...just keep trying, you will get it!

One more think Bruno. For the Smooth modifier to work when you apply it you must exit selection mode. These means you should not have any of the Vertex/Edge/Border/Polygon/Element selected when you apply the Smooth modifier. To exit selection mode you can press 6 on your keyboard or see image below:http://img72.imageshack.us/img72/347/smoothb.jpg

Hope this help

Seven-Zone
December 8, 2010 at 7:36 PM

Wou, this is a very good job, i try it to make it but at the final its says that it will take about 5 hours to render so i quit lol but it is great

thanks for the tutorials Alex,I've been using 3ds max for a week and 2 days so I'm still kind of confused about the lighting , rendering and staff! I did the basketball tutorial and now I completed this one but I can't add shadows and correct light to them cause everytime I try I got a black screen after rendering =/... thanks again for the tutorials and excellent explanation!

wow this is a great tutorial! I'm completely new to 3d modeling/rendering but all the screen shots and the detailed instructions were very helpful. I've done my ipod using your techniques. I'm doing the earphones right now. When I'm finished I will post my pictures.

Categories

About this Blog

With this blog i will try to help those guys who just starting with Max. Over time i will update the blog with lots of tutorials covering topics such as: 3D Modeling, Lightning, Texturing and Rendering. Visit regularly to stay tuned with all new updates.