
:: Post Date: 2007-04-02 13:32:09 [Post Comment] [Post Articles]
|
Illumination Tutorial (3dsmax MentalRay)Software:Autodesk 3ds MaxAuthor:Mario MalagrinoURL:http://www.mariomalagrino.com/http://www.florencedesignacademy.com This is a tutorial of the Florence Design Academy www.florencedesignacademy.com Introduction![]() [Click image for large version] Dear Architects and Interior Designers, This is one of my tutorials which I've written for my students at the Florence Design Academy (www.florencedesignacademy.com). This tutorial is about the illumination of a room, illuminated by sunlight coming through a window ( ideal for living rooms, kitchens and bedrooms ). There are many different illumination techniques that I teach for interior-rendering. This one is quite easy. We will use two different kinds of lights. One is the "MR spot light" and the other is the photometric "free area light". Before we begin, it is very important to inform you that we will use "mental ray" as the render engine (3d studio Max 8). mental ray is a very stable render engine, and it allows for the creation of very realistic renderings. Since we are using mental ray for this tutorial it is very important to use "real measurements" for all the interior/furnitures that we have to create. Otherwise the result will not be optimal. It would be important to have already a bit of experience with mental ray settings since this tutorial will not explain all settings ( settings about rendering and materials are in other tutorials of the FDA ). The first light ( mr area "spot light" ) must be located outside the room. You must move the target of the light through the window and place it inside the room ( see below ). ![]() [Click image for large version] ![]() [First rendering with only an mr area "spotlight" + Final Gather enabled][Click image for large version] Let's have a look at a few settings. Select the light and go to the modify panel. Check "shadows on" and select ray traced shadows ( this is necessary whenever you will make renderings with mental ray). I put in the multiplier slot 0.8, but this doesn't mean that you must have the same number since we will add other lights later which will influence the brightness of the room. Change the colour to a very bright orange-yellow colour to simulate the sun rays colour. In "Area light parameters" (modify panel) you have the possibility to make the shadow softer by increasing the size ( height,width ) of the light. To give the impression that the environment outside of the room is very bright ( like in the final rendering, see top of tutorial) you must create a big white self-illuminated box in front of the window. After this step select the "mr area spotlight" and exclude (In the Exclude-panel from the modify panel) the self illuminated box from illumination+shadow casting. Otherwise it will create a shadow in the room. Try now to make a rendering...it will be quite dark... How can we make a more realistic rendering ? Let's go to the "render scene panel". Choose indirect illumination. Now check the Final Gather box. Put a low number in the Samples slot ( 50 ) to make a quick test rendering and see the difference. It will be similar to the image above. For higher quality you must increase the number of samples. In my rendering I put 600 ( this will take more render time ). Don't put more than 1000 samples. You don't need such big numbers for a final rendering. Try to go up with the number making small test renderings. First try 150...than 250... than 400 etc. Let's increase the realism of the rendering. Still under final gather there is a slot called -trace depth- "max bounces" where we can increase the number. Let's put 4 ( never use more because it will take really really too much render time). This option Sets the number of times diffuse light bounces are calculated for a single diffuse ray. In other words: it allows us to have the same energy that we can see when sunlight is illuminating a room. Now you should have more or less the result of image B. Let's add a new light. [Mental Ray Settings]![]() [mr area "spotlight" + free area photometric light][Click image for large version] Create a "free area" photometric light ( without shadows ) in front of the window ( it must be inside the room ).The size should be a bit smaller than the window. I set the luminosity to 1500 CD. Try to make experiments reducing and increasing the intensity. The illumination depends also on the size and the position of the lights that you are using. You should have now a rendering like image B. ![]() [rendering with only an mr area "spotlight" and max bounce 4][Click image for large version] ![]() [rendering with only an mr area "spotlight" + free area and max bounce 4][Click image for large version] The illumination is quite good for now but we must give the impression of more luminosity. It becomes dangerous if you try to increase too much the first 2 lights. In fact you will risk to "burn" all the rendering. We can improve the rendering adding a last light. Create a free area photometric light in front of the Room. Normally I delete a wall and create a camera to render better a interior. Create the free area photometric light ( without shadows ) in front of the deleted wall (see below). ![]() [Click image for large version] The size must be smaller than the size of the wall that you have deleted. Don't locate it too close to your room, leave a small space between room and light. Otherwise you will "burn" the surfaces which are too close to the light. I Put around 850 CD in the slot for the Intensity. Try tom ake a test rendering. You should have these results seen below.. The result of the luminosity depends not only on the intensity but also on the size of the light that you create. You will notice that increasing the size of the area light you will have more or less the same effect of increasing the intensity number. The last step that you can do to improve the realism is to add a "glare" filter. This will give a glowing/shiny effect on the brightest parts of your surfaces. Try always to change settings to discover the optimal balance of size/location/intensity of the lights. I tried this tutorial with success also on interiors with more than 2 windows... for each window add a small area light and a spot light. Problems, errors and solutions:if your rendering is too dark probably you must increase the intensity of your last free area light, or you must increase the size of the free area light. -Color-bleeding effect : to avoid this effect put a lower number in "max bounces". -To long render times: This kind of illumination requires really a long render time. To spend less time you can reduce the "max bounces" number to 1 or 2 and make all lights a bit brighter . -The rendering is full of big dark dots : this happens if in final gather you have a low number in the samples slot. If you still have these imperfections ( see below ) after you have increased the number of samples try to add a bigger number in Final Gather RADIUS slot. -How to make VERY fast test renderings: Make the rendering size small ( example: 100*75 pixels).It will be for sure too small to see details, but you can clearly see if the illumination of the room is too dark or too bright. ![]() Ps: Remember that this tutorial teaches a technique of illumination, not what values to put in the light parameter slots. Since the final result of the rendering depends by the size of the room ; the intensity, the color, the size and the location of the lights, you must do many test renderings and experiments to get the correct values. I hope this tutorial was useful for you :)....Best regards Mario Malagrino http://www.mariomalagrino.com/ ![]() [Click image for large version] Rendered with the same technique |
| WOW..NICE...Very Hopefull.... Can i get More the tutorial for interior render n material with mental Ray??? Thnk You.. |
| AMAZING....So helpful ! GREAT !!!thank you very much |
| Thx for the tutorial,N GBU |
| Who wrote the last comment - obviously NOT a real 3ds max aficionado. I challenge you - let's see it! Bring it on mister. |
| Thats the easiest scene to recreate in the world. If thats a helpful tutorial then i'm sadaam Hussein. |
| wow... that's really great. i like it so much. thanks |
| thanks for the informations ;) |
| Wow ! That's great ! OK ! OK ! OK ! |
| Thnx! many thnx! thnx! thnx!!!!!! |
| this is a very great tutorial, ive been using 3ds max just for fun for about 2 years because my brother gets it for free and im still not that great but this helps me. |
| thank you very much |
| Thanks for the tutorial, but I will sure change one thing. The external light should be changed in direct light. If it has to "fake" the sun the rays have to be parallel and so the light should be changed in a direct (target) light. |