realistically light and render interior scenes using 3ds max and...

21
Advertise Here Pratik Gulati on Feb 19th 2010 with 77 comments Tutorial Details Program: 3Ds Max, Vray Completion Time: 1-2 hours Difficulty: Intermediate Discover the secrets behind properly lighting and rendering interior scenes with 3ds Max and Vray in this easy to follow, step by step walkthrough. Scene setup, modeling, texturing, lighting, and rendering for realistic output will all be discussed, so there is literally something in here for everyone! In this tutorial, we’ll be using real units, so the first thing would be to open the menu “Customize > Units Setup > US” and choose “Standard > Feet w/Decimal Inches” as the unit. Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light... 1 of 21 08/03/2011 02:56 p.m.

Upload: nguyennguyet

Post on 05-Feb-2018

245 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Advertise Here

Pratik Gulati on Feb 19th 2010 with 77 comments

Tutorial Details

Program: 3Ds Max, VrayCompletion Time: 1-2 hoursDifficulty: Intermediate

Discover the secrets behind properly lighting and rendering interior scenes with 3ds Max and Vray in this easy to follow, step by step walkthrough. Scenesetup, modeling, texturing, lighting, and rendering for realistic output will all be discussed, so there is literally something in here for everyone!

In this tutorial, we’ll be using real units, so the first thing would be to open the menu “Customize > Units Setup > US” and choose “Standard > Feetw/Decimal Inches” as the unit.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

1 of 21 08/03/2011 02:56 p.m.

Page 2: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

When you are trying to get a photorealistic quality it is very important to make sure that your object scale is accurate. This will play an important role inachieving a good render. Also, as you can see the scene is quite simple… just a small lobby (mostly modeled with boxes). Note: It is important that it is aclosed room, and there are no openings for the light from environment to enter.

Press f10, and from the “assign renderer” tab choose “Vray”. This will enable “Vray” as your renderer, and also enable Vray materials in your materialeditor.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

2 of 21 08/03/2011 02:56 p.m.

Page 3: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Assign a simple Vray material to all the objects in the scene, and set up basic scene lighting and render settings. This is to finalize the lighting and rendersettings and save time, since a plain material renders much faster than reflective and glossy materials which will be added later.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

3 of 21 08/03/2011 02:56 p.m.

Page 4: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Now to work on the lighting and render settings to achieve the final result.

Add a Vray physical camera to the scene by going to “Create Tab > Camera > Vray > Physical Camera”.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

4 of 21 08/03/2011 02:56 p.m.

Page 5: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

The settings for a physical camera are:

Type – Determines the type of the camera. Set it to “Still”.Film Gate – Specifies the horizontal size of the film gate in millimeters. Set it according to your scene.Focal Length – Specifies the equivalent focal length of the camera lens.f-number – The width of the camera aperture and (indirectly) exposure. If the Exposure option is checked, changing the f-number will affect the imagebrightness.Vignetting – When this option is on, the optical vignetting effect of a real-world cameras is simulated.White Balance – Allows additional modification of the image output according to the color or preset chosen.Shutter Speed – The shutter speed (in inverse seconds) for the still photographic camera. For example, a shutter speed of 1/50 s corresponds to a value of50 for this parameter.Film Speed (ISO) – Determines the film power (sensitivity). Smaller values make the image darker, while larger values make it brighter.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

5 of 21 08/03/2011 02:56 p.m.

Page 6: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Now to place the various Vray lights. Lights 1-4 affect the scene directly, whereas light 5 has been placed in a downward direction, and will affect the scenein an indirect (in theform of bounced light).

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

6 of 21 08/03/2011 02:56 p.m.

Page 7: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

7 of 21 08/03/2011 02:56 p.m.

Page 8: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

The basic parameters of the Vray lights are:

Color – The color of the light.Multiplier – The multiplier for the light color. This is also the light intensity determined by the Intensity units parameter.Invisible – This setting controls whether the shape of the VRay light source is visible in the render result. When this option is turned off the source isrendered in the current light color. Otherwise it is not visible in the scene.Subdivs - Defines the samples, or the quality of the light. 8-10 should be used for test renders, and 15-20 for final renders. Increasing the samples willsignificantly increase your render time.

IES stands for “Illuminating Engineering Society”. The photometric data is stored in these files. A photometric web is a 3D representation of the lightintensity distribution of a light source. Web definitions are stored in files. Many lighting manufacturers provide web files that model their products, andthese are often available on the Internet. We as artists can use them to replicate the real life phenomena of light in 3d.

Go to the “Lights” tab, choose “Vray” from the drop down list, and create a “Vray ies” in the right view. Then instance it below all four steel holders.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

8 of 21 08/03/2011 02:56 p.m.

Page 9: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

The main settings for the ies lights are:

Browse Button - Click it and browse for the ies file that you want to use.Color Mode – If you choose this option, you can change and affect the light intensity through the color picker.Temperature Mode – Allows you to accurately change the light intensity through the color temperature.Power - Determines how bright the light will be.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

9 of 21 08/03/2011 02:56 p.m.

Page 10: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Through the following steps, you will configure the rendering settings in Vray. Press F10, then under “Global Switches”, uncheck “Default Lights”. Thiswill cause the default lights in the scene to be switched off. For the Image Sampler type select “Adaptive DMC”, and “Catmull Rom” as the filter. Also,change the min and max subdivs as shown.

Lastly, change the “Color Mapping” type to “Exponential”. This mode will saturate the colors based on their brightness, and therefore, will not clip brightcolors, but saturate them instead. This can be useful to prevent Burn-outs in the very bright areas (for example around light sources etc).

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

10 of 21 08/03/2011 02:56 p.m.

Page 11: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Under the “Indirect Illumination” select “Irradiance Map” and use “Light Cache” as the primary and secondary engine. Also, change the Preset to “High”,“hsph subdivs” to 50, and “interp samples” to 20.

Irradiance Map – Computes the indirect illumination only at some points in the scene, and interpolates for the rest of the points. The Irradiance Map isvery fast compared to direct computation, especially for scenes with large flat areas.Current Preset – Allows you to choose from several presets for some of the irradiance map parameters.Hemispheric Subdivs (HSph. subdivs) – Controls the quality of individual GI samples. Smaller values makes things faster, but may produce blotchyresults. Higher values produce smoother images.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

11 of 21 08/03/2011 02:56 p.m.

Page 12: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

With a Light Cache, the light map is built by tracing many eye paths from the camera. Each of the bounces in the path stores the illumination from the restof the path into a 3d structure (very similar to the photon map). In the Light Cache put 1500 for subdivs and 8 for no of passes.

The Subdivs determines how many paths are traced from the camera. The actual number of paths is the square of the subdivs (the default 1000 subdivsmean that 1 000 000 paths will be traced from the camera).

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

12 of 21 08/03/2011 02:56 p.m.

Page 13: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Your settings for the test render are done. If you hit render now, you should see the same image that was shown before. Now all you need to do is apply thematerials, and increase the Irradiance Map and Light Cache samples for the final render.

Now to texture the scene (actually it’s quite simple). The basic parameters that will be used in materials are:

Diffuse – The diffuse color of the material.Roughness - Can be used to simulate rough surfaces or surfaces covered with dust.Reflect – The reflection color.Reflection Glossiness – Controls the sharpness of the reflections. A value of 1.0 means perfect mirror-like reflections; lower values produce blurry orglossy reflections. Use the Subdivs parameter below to control the quality of the glossy reflections.

The shader for the tiles on the base is a simple vray material with a de-saturated texture in the diffuse and a noise map in bump.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

13 of 21 08/03/2011 02:56 p.m.

Page 14: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

14 of 21 08/03/2011 02:56 p.m.

Page 15: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

The wood rack is also made of a Vray material with slight reflections and glossiness.

The material for the wall is again just simple cream and black colors with no reflections.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

15 of 21 08/03/2011 02:56 p.m.

Page 16: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

16 of 21 08/03/2011 02:56 p.m.

Page 17: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

The shader on the wall on which the paintings are hanging is made of steel and white wall. The wall part also has a grainy texture assigned to it.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

17 of 21 08/03/2011 02:56 p.m.

Page 18: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

18 of 21 08/03/2011 02:56 p.m.

Page 19: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Your scene is now textured! You can add any other props or objects you like to fill up the scene. The above rendering settings are good for test renders, butfor production quality you will need to increase the samples for the image sampler, Light Cache, and Irradiance map.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

19 of 21 08/03/2011 02:56 p.m.

Page 20: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

Here is the final result! Hope you learned something new!!.

Don’t miss more CG tutorials and guides, published daily – subscribe to Cgtuts+ by RSS.

Like 5 people like this.

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

20 of 21 08/03/2011 02:56 p.m.

Page 21: Realistically Light and Render Interior Scenes using 3ds Max and Vrayfiles.vitorquiroz.webnode.es/200000007-5771e586a2/Realistically... · Assign a simple Vray material to all the

By Pratik GulatiHi friends, this is Pratik. I am a 3d artist from India. My areas of expertise include texturing, lighting and rendering. 3d art is my passion and profession, andmy hobbies are Photography ,music, movies, computers, latest gadgets, cars and all sorts of tech stuff. Here to learn, inspire, and grow!

Realistically Light and Render Interior Scenes using 3ds Max and Vray http://cg.tutsplus.com/tutorials/autodesk-3d-studio-max/realistically-light...

21 of 21 08/03/2011 02:56 p.m.