Tuesday 28 December 2010

Realistic Glass Rendering Using Mental Ray

by Didik Wijaya

Realistic Glass Rendering Using Mental Ray3ds max has excellent built-in rendering engine named Mental Ray. This tutorial will show you how to use Mental Ray to create realistic glass rendering quickly, with additional Caustics lighting effect.. If you don't familiar with Mental Ray, read this tutorial, you will see how quick and easy to use Mental Ray. This tutorial also use Arch and Design material, which you can use to create realistic convincing material. This material type is available since 3ds Max 9.

1. Create a plane and teapot in 3ds max. Set teapot segments = 10 to make smoother surface.

2. Create 2 standard lights. One is Skylight and the other is Target Spot. Change skylight color to a little bit blue.

3. We need to change default rendering engine into Mental Ray. Open Render Setup (Press F10). Open Assign Renderer rollout. Click Production button and choose Mental Ray.

4. Next, creating material. Open Material Editor (Press M). Apply selected material to plane (drag sample material to object in viewport). Then select other material slot. Click Get Material button. In opened window, double click Arch & Design Material. The mental ray Arch (architectural) & Design material improves the image quality of architectural renderings. It improves workflow and performance in general, and performance for glossy surfaces (such as floors) in particular.

You can choose many material settings using template. For this example choose Glass (Solid Geometry). Apply this material to teapot.

5. Open Render Setup. Go to Indirect Illumination tab. Activate Final Gather. Use Draft quality. Enable Global Illumination GI) and check All Objects Generate & Receive GI and Caustics. Click Render. You'll see nice glass rendering, but the image looks a little bit dark.

Open Environment window (Render>Environment). Change background color to white. Render again. You'll see brighter rendering and better reflection.

6. Image below shows sample of mental ray rendering up to this point.

7. Next, we will enchance the rendering with Caustics effect. Caustics are the effects of light cast onto an object via reflection off or refraction through another object.

Select Target Spot, go to Modify tab and change this light to Omni. Position this light behind the teapot. Caustic effect will show up in the opposite direction of light.

Open Render Setup. Activate Caustics in Caustics and Global Illumination (GI) rollout.

8. When you click render, 3ds Max shows a message error. This happens because objects are not ready to generate caustics. Press Cancel.

Right click teapot. Choose Object Properties. Go to mental ray tab and check Generate Caustics. Click OK. Repeat this process with Omni light (in 3ds Max 2010 or up you need to do this or 3ds Max still generates error).

9. Render. Look at the caustics lighting effect at plane around the teapot. If you can't see the caustics effect, increase Caustics Multiplier. In this example I use 10.

1 comment:

Getting started in max (tutorials)

...