Lighting Tutorials > Lighting and Rendering the Villa in Daylight >
Time of Day Illumination

In this lesson, you set the scene for late-day illumination, and adjust the exposure accordingly.

Set up the lesson:

- Continue from the previous lesson, or open med_villa_lighting_skyportals_added.max.

Change the time of day to late afternoon:

1. Render the scene and make a clone of the result.
2. Minimize the Rendered Frame Windows.
3. In the Front viewport select the Daylight object (the sun object, not the compass rose), then go to the Motion panel.
4. In the Control Parameters rollout Time group, set the Hours to 18 and Mins. (Minutes) to 30 (6:30 PM, or 1830 hours).
5. Render the Camera-Terrace view again.

   The scene is fairly dim, but you can improve this by adjusting the exposure to a setting more appropriate for this time of day.

6. Click (Environment And Effects Dialog (Exposure Controls)) to display the Environment And Effects dialog.
7. On the mr Photographic Exposure Control Exposure group, Shutter Speed is set to a proper exposure for a camera angle facing the sun. But you can increase the amount of light entering the scene by adjusting the camera lens aperture.
8. In the Exposure group, set Aperture to 5.6.
9. Render the scene and make a clone of the result.

   The overall illumination is much improved, although the outline of the sun disc is lost.

Create a sunset exposure:

Here, you will adjust scene exposure so that objects are convincingly illuminated by the setting sun.

1. In the Motion panel Control Parameters rollout Time group, set the Hours to 19 and the Mins. (Minutes) to 40 (7:40 PM, or 1940 hours).
2. Render the Camera-Terrace view again.

   The scene is extremely dark because the exposure is still set for an earlier time of day.

3. On the Environment And Effects dialog, set Shutter Speed to 100.0 (1/100 Sec.).
4. Render the Camera-Terrace view again.

   The “mr Physical Sky shader” produces a vivid sky gradient, and details around the pool are much more apparent.

5. Take a look at the two other rendered frames representing the same scene at 3 PM and 6:30 PM to see how you have used mental ray exposure controls to create three distinctive moods.

Save your work:

- Save the scene as my_villa_twilight.max.

Summary

You can create a Daylight system to simulate real-world outdoor lighting conditions at any time of day, at any location on the planet. mental ray offers a range of presets that define proper exposure settings for specific lighting conditions, which you can adjust manually as needed. You can also add Sky Portal objects to channel sky light into doorways and windows of structures, to enhance their interior illumination.