Huwebes, Nobyembre 22, 2012

3dsmax 02: Mental Ray Exterior

Hi again and welcome to another installment of 3dmax chitorial. Today we will tackle basic exterior setup for Mental Ray. In this exercise, you need to download the revit file found in our facebook group page.

Open a new 3dsmax file and on your [file link manager], open the revit file and select the [revit] preset and wait for it to load.

*Be sure that your unit set-up is on meters [customize][unit set up][system unit setup] select [meters]

After that the revit model will be linked to you 3dmax file. Then set-up your camera view[create][camera][targeted] similar to the image shown below.


with this view we could start with the rendering set-up. just follow the corresponding values below.

*terms and pick-boxes may vary depending on the software version. I am currently using 3ds max 2009.

press [f10]

common tab:


renderer tab:

indirect illumination tab:

For the lighting set up, go to [create][systems][daylight] and input the following values

date and time parameters:

skylight and sunlight tab:

The MR skylight will automatically adjust according to the date and time and will occupy your environmental map shown in the environment and exposure option when you press 8. With that, lets try pressing 8 and adjust it accordingly.


The mr Photographic Exposure control has this SLR camera settings, if you are familiar with analog or digital photography you can easily relate to this, modify at you own accord. If not, the setting specified here will give an acceptable output. To test if we have a proper rendering and lighting set up, we must specify a material.

Press [M] to launch the material editor window and create a test material for our model named matte1, set-up as follow:




After creating a base material, select everything in the model space and apply the material.

press [f3] to view the shaded model, and [f4] to view the wireframe. your model should look like this.


We then hit [f9] for a quick test render... rendering... ... ...


Your test render should look like this. If NOT, scroll up and read carefully! now! (bossy tone)

Skylight - check!
Sunlight - check!
Rendering speed - check!
Model - check!

We are doing good so far. Now lets add a little life to our model by placing some trees.

click [create] [aec extended] [foliage] [select a tree of your choice], image shown below.

*If the tree model is very small try scaling it up and duplicate it then randomly scaling its duplicate and rotation. you can modify the foliage by clicking the foliage and [modify], additional options will be shown.

*IMPORTANT NOTE: Before you duplicate anything and if you want to add more trees without crashing your computer, select LOW on the level of detail option shown below. This will allow max to read the models with the minimum amount of polygon. Therefore giving you more freedom to move around your model.

*If you wish to create a unique tree, try clicking the [NEW] button besides seed option and it will randomly create a unique tree of the same tree specie.



total of 11 trees, If you are done composing your perspective view we can hit render again to see the result.


*You can change the mood to dusk, (^_^) happy skylight or dawn by changing the date/time set-up at daylight parameters, it will automatically change the sky. (less hassle)

If you are able to achieve the same or better result we can move to the material set up which we will cover in our next installment of 3ds max chitorial!

Linggo, Nobyembre 4, 2012

3dsmax 03: Mental Ray Interior Lighting

In this tutorial, we will learn the basic lighting setup for interiors using 3ds max 2009's Mental Ray (MR) rendering engine.  I have been in the Architectural Visualization for about 5 years and been to a lot of rendering programs.  In my experience, Mental Ray has one of the best quality rendering.  The only setback, however, is its rendering time.

I am always asked if there are "default" or "standard" set-up for rendering.  Yup! There are!  But don't get too excited yet, because there is no "CLICK HERE - ULTRA REALISTIC RENDER BUTTON".  The rendering standard requires a combination of 3d model, camera, lighting, material, and rendering setup that has a lot of options, values, and multipliers to consider.  Also, a missed checkbox may produce unwanted result.  So it is also safe to say that a series of trial and error is needed to create an acceptable standard for rendering.  And in reality, creating a convincing rendering requires a lot of time, patience, and a good computer.  In this tutorial, I will introduce a basic daylight interior setup, which you can consider a standard interior setup.  Like each individual, digital rendering will always vary form one person to another, that is why you should learn to understand the rendering language and explore.

*Note that this tutorial is only for lighting; material setup is another topic to discuss.

Before we start be sure that you assign Mental Ray as your renderer (F10> COMMON> ASSIGN RENDERER)

tips:
1. to switch between view port, right click to it
2. to maximize a view port, click the lowest right icon (maximize view port toggle)
2. F3 - shaded to no shade mode
3. F4 - wireframe on/off

Let there be Light!

Since this is a daylight setup, we will start by creating a daylight system.
Go to the top view window and (CREATE TAB>SYSTEMS>DAYLIGHT) shown in figure 1, then place it on the center of your model.  Also, notice that the camera angle is a bit distorted, so to correct the vertical shift, go to top view and right click on the camera, then select (Apply Camera Correction).

After placing your Daylight system, a bunch of options will pop at the modify panel. These are the date, time, location options.  Follow the date and time values shown in figure 2 and you will notice that the light source will move automatically.  I intended to place the main light source at the window behind camera.  To edit the location, select (Set Location) then change it to (Asia, Philippines, Manila).

Then select the modify tab button and follow the values and options on figures 3 and 4.  Scroll down to reveal additional options.

We will use MR Sun and MR sky since we will be using Mental Ray rendering, otherwise we will either produce a poor image quality or take a longer rendering time.

Multipliers - this will always be synonymous to intensity your light source, for now use the value of 3 for both sun and sky.
 


That would be your basic lighting setup! but you cannot render yet.  We still have to adjust the MR rendering set-up.  With this option, you can adjust the quality of your rendering.  Press (F10) in the (COMMON PARAMETERS), adjust the Output size width and height to 400x250 respectively.  We will temporarily leave it this small for our test rendering.  The bigger the output size, the longer it takes to render.  We will adjust this later for the final rendering.


Continue to the Renderer and Indirect Illumination tab and apply the following values listed below.

I will try to explain some of the options here in my own terms.  I cannot exhaust every single one.

Sampling quality: You can change the value of this, the bigger the value, the longer it takes to render.

Filter type: Choose Mitchell, this is just a personal preference.  Mitchell filter is good for soft objects.  It is the best choice since this is a bedroom setting.  You can select other filters as you explore the world of Mental Ray.

Final Gather: Enable this, the FG precision presets determine the quality of rendering.  Let us use the LOW setting for now.  We can render in HIGH setting once we are satisfied with our rendering.  This can highly affect the rendering time.

Diffuse bounces: Bounce bounce bounce!  Light bounces infinitely, but we leave this to value of 2.  So it means the light will bounce twice after hitting an object.  WARNING: this can highly affect your rendering time.

Also press 8 to view the environment and effects window. this window allows us to edit the background, global tinting and exposure control. set the tint to white and then select Exposure control to MR PHOTOGRAPHIC EXPOSURE CONTROL. This will let Mental Ray to correctly read the lights and materials to be rendered. Otherwise your render take longer and the output will definitely not please you.


Now let us render! press F9 to render.

TIP: pressing F9 will render your active view port, be sure that the camera view port is active.  If it is rendering another view than the camera, press F10 and manually select the camera viewport.


Er... nice sunlight, but not what we had in mind.  The skylight is not passing through our windows.  We can either increase the Skylight Multiplier, or apply a Skylight portal right at our window to fake the luminance of our skylight.  To do that, go to (create>lights>photometric>mr sky portal), the MR skylight portal is a rectangular light, now go to your RIGHT SIDE VIEW and place a rectangular light with the same dimensions of your window opening and apply the following values.



After applying everything in proper order, press F10 and adjust the rendering resolution to 1280x800 and press RENDER while on your CAMERA VIEW is active.  After the rendering time you should have something like this.
That's more like it!  If the sunlight is too bright for your taste, you can decrease the amount of its multiplier. Cheers!