You can animate a Daylight system's time of day. This is a good way to create a shadow study.
In this tutorial, you will learn how to:
Skill level: Beginner
Time to complete: 30 minutes
Set up the scene:
The scene consists of a city block, with a skyscraper at the center. The scene also contains a Daylight system. The system is set to position the scene at the latitude of San Francisco, California, with sun position set at 0700 hours, about the time of dawn on a winter day.
Animate the daylight:
Daylight01 appears in the name field on the command panel.
The button, the track bar, and the border of the active viewport all turn red.
The spinner arrows of the Hours, Minutes, and Seconds fields are now bracketed in red, indicating that you have set a key to animate the time of day.
When you use Auto Key to set a key at frame 60, 3ds Max also sets a key at the start frame, frame 0. So the sun is now animated to range from 0700 to 1900 hours, or 7 A.M. to 7 P.M. Because there are 61 frames in the animation, the sun reaches the top of the hour every five frames.
You can see the movement of the sun.
Use viewport lighting to view the scene:
Now the scene is illuminated by the mr Sun light that is part of the daylight system, and the Camera02 viewport shows the lighting early on a winter morning.
As the sun progresses across the sky, shadows in the viewport move across the cityscape.
0900h
1200h
1500h
View the effects of mr Sky:
One advantage of using mr Sky as the sky light for the Daylight system, is that this light changes color depending on the time of day.
The angle of Camera02 is too high to get a good view of the sky, so first you change views.
This is a more oblique view of the city block.
3ds Max shows the sky and horizon. The sky is colored according to the time of day.
0900h
1200h
1500h
1648h
Save your work:
A completed version of this scene is saved as cityscape_animated.max.
To see a version of the animated shadow study, play this movie:
(Optional.) Render snapshots of the shadow study:
A hardware-shaded viewport is great for interactive display. But hardware shading doesn’t include the full detail of a rendering. Also, sometimes hardware shading generates artifacts, as you can see in the previous graphic of the viewport with noontime lighting. For further study, or to make a presentation, you might want to render the shadows.
You can turn the shadow study into an animation, but for this tutorial, you will render only selected frames.
At 0700 hours, when the animation begins, and 1900 hours, when it ends, the scene is too dark to be interesting. So you will render selected frames from a smaller range.
3ds Max opens the Render Setup dialog. The Common panel is active.
You will render nine snapshot frames over the course of the main daylight hours.
Smaller sizes render more quickly, but the shadows don't show up as well.
3ds Max opens a Render Output File dialog. By default, 3ds Max saves renderings in the \renderoutput folder for the tutorials. You can change this location if you like.
Choose JPEG as the output type, and enter thirdstreetblock as the file name, then click Save.
Accept the defaults for the JPEG file format.
3ds Max renders the individual frames. Each frame has the file name you entered, followed by a sequence number that equals the frame number.
Fully rendered frame from the snapshot set
You might want to experiment. For example, changing the Daylight system’s month to a month in summer will show more hours of daylight, and shadows that have a different orientation.
Save your work:
To create a shadow study you can use Auto Key to animate a Daylight system’s time of day. With hardware viewport shading, you can view shadows. The sky light mr Sky provides sky color. You can also use the renderer to create fully detailed frames, or an animation.