Chapter 10

3ds Max Lighting

Light is everything. By light we see, and by light we show. Light reveals the world around us and defines shape, color, and texture. Computer graphics hang on every word light has to whisper. Without faithful lighting, any good computer graphic will fall to its knees and fail. Lighting is the most important aspect of CG, and it just simply cannot be mastered at a snap of the fingers. The trick to correctly lighting a CG scene is understanding how light works and seeing the visual nuances it has to offer.

In this chapter, you will study the various tools used to light in 3ds Max. This chapter will serve as a primer to this most important aspect of CG. It will start you on the path by showing you the tools available and giving you opportunities to begin using them.

Topics in this chapter include the following:

  • Basic lighting concepts
  • Three-point lighting
  • 3ds Max lights
  • Common light parameters
  • Ambient light
  • Lighting the Red Rocket
  • Atmospheres and effects
  • Light Lister

Basic Lighting Concepts

On a conceptual level, the lighting in 3ds Max mimics the real-world direct-lighting techniques used in photography and filmmaking. Lights of various types are placed around a scene to illuminate the subjects, as they would be for a still life or a portrait. Your scene and what’s in it dictate, to some degree at least, which lights you put where. A number of considerations must be kept in mind when settling on a methodology and light types for Computer Graphics (CG), but the overall concept of lighting is strikingly similar between a real-world set lighting and CG.

At the basic level, you want your lights to illuminate the scene. Without lights, your cameras have nothing to capture. Although it seems rather easy to throw your lights in, turn them all on, and render the scene, that couldn’t be further from the truth.

Lighting is the backbone of CG. Although it is technically easy to insert and configure lights, it is how you light that will make or break your scene. That skill really comes only with a good deal of experience and experimentation, and it requires a good eye and some patience.

In this chapter, you will learn the basic procedures for lighting a scene in 3ds Max. No single chapter could explain everything about lighting, and no beginner or intermediate CG student should expect to quickly master the art of lighting CG. In short, lighting touches every single aspect of the CG pipeline. A strong lighter understands modeling form and is able to make adjustments to enable efficient lighting. Lighters understand motion and how to light for it. They understand textures and materials, and they frequently are tasked with creating or adjusting materials to work perfectly with their lights. Strong lighters are also rendering experts. When it’s time to render, they must know what is and is not doable in a scene. They must diagnose problems and overcome obstacles to make sure every frame is rendered faithfully and with artistic merit.

Develop Your Eye

As corny as it sounds, to be an artist, you must learn to see. This is especially true for CG lighting. There are so many nuances to the real-world lighting around us that we take them for granted. We intuitively understand what we see and how it’s lit, and we infer a tremendous amount of visual information without much consideration. With CG lighting, you must re-create these nuances for your scene. That amounts to the work of lighting.

The most valuable thing you can do to improve your lighting technique is to relearn how you see your environment. Simply put, you must refuse to take for granted what you see. If you question why things look the way they do, you’ll find that the answers almost always come around to lighting.

Take note of the distinction between light and dark in the room you’re in now. Notice the difference in the brightness of highlights and how they dissipate into diffused light and then into shadow.

When you start understanding how real light affects objects, you’ll be much better equipped to generate your own light. After all, the key to good lighting starts with the desire to simply create an interesting image.

Your Scene and Its Needs

Your scene needs a careful balance of light and dark. Too much light will flatten your image and lose details in form. This is the first mistake many beginners make; they tend to over-light to make sure everything is lit. Figure 10-1 is a rendering of a chessboard that has too many bright lights. The lighting only flattens the image and removes any sense of depth and color.

On the other hand, under-lighting a scene will make it muddy and gray and pretty lifeless. Your details will end up covered in darkness, and everything will flatten out as well. Figure 10-2 shows you the same chessboard that is under-lit. You hardly notice the details in the mesh.

Your first job as a lighter is to find the balance between over-lighting and under-lighting. It sounds simple, and it is—although it requires lighting a shot several times and test rendering it to check the outcome. Like a photographer, you want your image to have the full range of exposure. You want the richest blacks and the brightest whites in your frame to give it a deep sense of detail. Figure 10-3 shows you a fairly well-balanced lighting for the same chessboard. The light and shadow complement each other, and the lighting works to show off the features of the objects in the scene.

Figure 10-1: An over-lit chessboard

f1001.tif

Figure 10-2: An under-lit chessboard

f1002.tif

Figure 10-3: When the lighting is balanced, the image is more interesting.

f1003.tif

Three-Point Lighting

Figure 10-4: A three-point lighting schematic

f1004.eps

Three-point lighting is a traditional approach to lighting a television shot. After all these years, the concepts still carry over to CG lighting. In this setup, three distinct roles are used to light the subject of a shot. More than one light can be used for each of the three roles, but the scene should in effect seem to have only one primary or key light, a softer light to fill the scene, and a back light to make the subject pop out from the background.

This does not mean there are only three lights in the scene. Three-point lighting suggests that there are three primary angles of light for your shot, dependent on where the camera is located.

Three-point lighting ensures that your scene’s main subject is well lit and has highlights and a sense of lighting direction using shadow and tone. Figure 10-4 shows you a plan view of the three-point lighting layout. The subject is in the middle of the image.

Key Light

A key light is placed in front of the subject for the primary light. The key is placed off to one side to give a sense of direction to the light, because one side will be brighter than the other. Shadows will fall from this light to heighten the sense of direction and increase the depth of the shot.

Although it is possible for several lights to fulfill the role of key light in a scene—for example, three overhead ceiling lights—one light should dominate, creating a definitive direction. Figure 10-5 shows the subject being lit by a single key light.

Figure 10-5: Key light only

f1005.tif

Here, the key light produces a moody still life. It may be composed of more than one 3ds Max light, although the intent would be that all the lights that comprise the key should come from roughly the same angle.

Fill Light

Figure 10-6: A fill light is now included.

f1006.tif

A more diffused light than the key light, the fill light seems directionless and evenly spread across the subject’s dark side. This fills the rest of the subject with light and decreases the dark area caused by the key light.

The fill light shouldn’t necessarily cast any shadows onto the subject or the background. In fact, the fill light is actually used to help bring up the darkness and soften the shadows created by the key light. Figure 10-6 shows the same still life with an added fill light in the scene. The fill light clearly softens the shadows and illuminates the dark areas that the key light misses by design.

In most cases, you’ll need to place the fill light in front of the subject. The fill, however, is aimed so that it shines from the reverse side of the key light. This angle intentionally targets the dark side of the subject. Even though the still life in Figure 10.6 is still a fairly moody composition, much more is visible than with only the key light in Figure 10-5.

Back Light

The back light, also called a rim light, is placed behind the subject to create a bit of a halo, which helps make the subject pop out in the shot. As a result, the subject has more presence against its background. Figure 10-7 shows how helpful a back light can be.

Figure 10-7: A back light makes the subject pop right out.

f1007.tif

The back light brings the chess pieces out from the background and adds some highlights to the edges, making the composition more focused.

Don’t confuse the back light with the background light, which lights the environment behind the subject.

Three-Point Lighting in Action

The focus of a three-point lighting system is the primary subject of the shot. This means the lighting is based on the position and angle of the subject to the camera. When a camera is moved for a different shot, even within a scene of the same subject, a new lighting setup is more than likely required. This makes three-point lighting shot-specific and not scene-specific. Of course, once you have a shot set up with the lighting you like, changing it slightly to suit a new camera angle is much easier than starting from scratch.

When the lighting is completed for the subject of a shot, the background will probably need to be lit as well. For the background, you would typically use a directed primary light source that matches the direction of the key light. This becomes your background’s main light. Then you would use a softer fill light to light the rest of the background scene and to soften the primary shadows.

Practical Lighting

Practical lighting is a theatrical term describing any lights in a scene that are cast from lighting objects within the scene. For example, a shaded lamp on a nightstand in the background of a scene set in a bedroom would need practical lighting when the light is turned on. The practical lighting shouldn’t interfere with the main lighting of the scene, although if the scene’s lighting is explicitly coming from such a source, you will have to set up your key light to match the direction and general mood of the practical light in the shot.

Not every light-emitting object in your CG scene automatically calls for its own light in 3ds Max. Rendering tricks such as glow (see Chapter 11, “3ds Max Rendering”) often are used to simulate the effect of an active scene light. This way, you don’t need to actually use a 3ds Max light. Of course, if you need the practical light to illuminate something in the scene, you need to create a light for it.

3ds Max Lights

3ds Max has two types of light objects: Photometric and Standard. Photometric lights are lights that possess very specific features to enable a more accurate definition of lighting, as you would see in the real world. Photometric lights have physically based intensity values that closely mimic the behavior of real light. We will touch on these lights as we cover mental ray rendering in the next chapter. Standard lights are still extremely powerful and capable of realism, but they are more straightforward to use than Photometric lights and less taxing on the system at render time.

A chessboard scene is included on the companion web page. To practice the lighting techniques as you read through this chapter, set your project to the Lighting Scene Files project downloaded from the web page and load the Chess_Board_Start.max file in the Scenes folder.

Default Lights

What happens if you have no lights at all in your 3ds Max scene? In this case, the scene is automatically lit by default lighting. When you add light objects, the default lighting is replaced entirely by the new lights. There is very little you can do with the default lighting; it is there for your convenience so you easily can view an object in Shaded mode and test render without creating a light first.

One or Two Default Lights

When you use default lighting, there is only one light. However, you can customize the configuration so that you can have two lights for default lighting.

To change to two default lights, in the main menu bar choose Views ⇒ Viewport Configuration, which opens the Viewport Configuration dialog box. From there, choose the Lighting and Shadows tab. In this dialog box, you can choose whether you want Scene Lights, which illuminates the viewport using light objects, or Default Lights, which is one light or two lights. If there are no lights in the scene, it defaults to one light. Figure 10-8 shows the Viewport Configuration dialog box’s Lighting and Shadows tab.

Figure 10-8: You can choose one or two lights for your default lighting.

f1008.tif

In a single default light, you have a single key light. This light is linked to the viewport, and it moves with the point of view. Setting up the default lighting to have two lights adds a single fill light that is placed opposite the key light. The key is always placed in front of the object being viewed, on its upper-left side. The default fill light, if added, is created behind and to the lower right of the object. The link between the default light and the viewport is broken when you have two default lights. In Figure 10-9, there is a sphere on the left with a single default light. In the middle is the same sphere with two default lights. In the image on the right, the two default lights are no longer connected to the viewport.

In Figure 10-10 and Figure 10-11, you can see how the second default fill light works for the chessboard. Figure 10-10 has the single default light, and Figure 10-11 has two default lights. You can see the addition of a second set of highlights on the chess pieces in Figure 10-11 due to the added fill light.

Figure 10-9: The default light and the viewpoint

f1009.tif

Figure 10-10: A single default light provides a key light.

f1010.tif

Figure 10-11: Two default lights provide a key light and a fill light.

f1011.tif

Converting Default Lights

Figure 10-12: Selecting Add Default Lights to Scene

f1012.tif

Figure 10-13: The Add Default Lights to Scene dialog box

f1013.tif

Remember that the default lights have no parameters and cannot be edited. You can, however, convert the default lighting into light objects that can be edited. To do this, the 2 Lights Default Lights option must be selected in the Viewport Configuration dialog box’s Lighting and Shadows tab.

To add the default lighting to your scene, choose Create ⇒ Lights ⇒ Standard Lights ⇒ Add Default Lights to Scene, as in Figure 10-12. If you have 1 Light default lighting, this menu option will be grayed out and the dialog box shown in Figure 10-13 will open, giving you the option to add either one or both default lights to the scene.

3ds Max will bring the default lights in as Omni lights (which you will learn about soon). Once you add the default lights, you can edit them like any other light. However, it’s always best to just begin lighting the scene with your own lights created from scratch.

Using Default Lights

Once you add a light, any default lighting that has not been added to the scene will be removed. Likewise, if you remove all the lights in a scene, 3ds Max will re-create the default lighting. Figure 10-12 shows how to add two default lights as Omni lights (the diamond shapes) in the sphere’s scene.

Use default lighting as a temporary solution. It gives you an easy way to have a constant light that travels with the viewport’s point of view—provided it’s the single default light. This helps you see the detail in your modeling, animation, and texturing without having to worry about creating and placing lights, especially lights that would follow the viewport.

Standard Lights

The lights in 3ds Max try to mimic the way real lights work. For example, a light bulb that emits light all around itself would be an Omni light in 3ds Max. A desk lamp that shines light in a specific direction in a cone shape would be a spotlight. Each of the different Standard lights casts light differently. We will look at the most commonly used lights.

3ds Max has a total of eight light types in its Standard Light collection. The following lights are in the collection:

Target Spotlight

Free Spotlight

Target Direct Light

Free Direct Light

Omni Light

Skylight

mr Area Omni Light

mr Area Spotlight

The last two on this list have the prefix “mr” to signify that they are mental ray–specific lights. An advanced renderer, mental ray is commonly used in production today. It offers many sophisticated and frequently complex methods of lighting that enhance the realism of a rendered scene. It is fairly complex and will be covered in the next chapter.

After you read this chapter, you should be familiar enough with lighting to get started and try new things without using any advanced lighting and rendering methodologies.

Figure 10-14: A Target spotlight

f1014.eps

Target Spotlight

A Target spotlight, as shown in Figure 10-14, is one of the most commonly used lights because it is extremely versatile. A spotlight casts light in a focused beam, similar to a flashlight. This type of lighting allows you to light specific areas of a scene without casting any unwanted light on areas that may not need that light. You can control the size of the hotspot. This is the size of the cast beam.

The light is created with two nodes, the light itself (light source) and the Target node, at which the light points at all times. This way you are able to animate the light following the subject of the scene easily, as a spotlight would follow a singer on stage. Select the target and move it as you would any other object in 3ds Max. The Target spot will rotate to follow the target. Similarly, you can animate the light source, and it will orient itself accordingly to aim at the stationary target. (You may also animate both if you prefer.)

Creating a Target Spot

Figure 10-15: Light creation tools

f1015.tif

Create a Target spot by going to the Create panel and clicking the Lights button (i1001.tif) to access the light creation tools shown in Figure 10-15.

In any scene, click the Target Spot button, and in the Top viewport, click and drag to create a Target spotlight, as shown in Figure 10-16.

Figure 10-16: Target Spotlight created in the Top viewport

f1016.tif

Falloff/Field

Select the light source of the Target spot. Go to the Modify panel (i1002.tif), and open the Spotlight Parameters rollout shown in Figure 10-17.

Figure 10-17: Spotlight Parameters rollout

f1017.tif

The falloff, which pertains to Standard lights in 3ds Max, is represented in the viewport by the area between the inner lighter-yellow cone and the outer darkeryellow cone. The light diminishes to 0 by the outer region.

The falloff is the area in which the intensity of the beam falls off, or dissipates, creating a soft area around the hotspot circle (where the light is the brightest), as shown in Figure 10-18.

Figure 10-18: The falloff of a hotspot

f1018.tif

Spotlight Shape

You can also change the shape of a spotlight from circular to rectangular by selecting either Circle or Rectangle in the Spotlight Parameters rollout. In addition, using the aspect value, you can set the height-to-width ratio for the hotspot for a Rectangle spotlight. Figure 10-19 shows a rectangular spot with an aspect of 4.0.

When rendered, the rectangular spot looks like the image in Figure 10-20.

Figure 10-19: A spotlight can also be rectangular.

f1019.tif

Figure 10-20: The rendered image

f1020.tif

Selecting the Light

You can move (and animate) the entire light, including the target, by selecting the light object in the viewport by the line that connects the light source and the target in the middle of its display, as shown on the left in Figure 10-21. To access the parameters of the light, you have to select the light, as shown on the right. The target does not list any parameters for the light.

Figure 10-21: Selecting the light

f1021.tif

Interactive Cone Settings

3ds Max has the ability to control the Hotspot/Beam and the Falloff/Field parameters in the viewport. Follow these steps to interactively change a spotlight’s hotspot and falloff.

1. Select the spotlight’s source.

2. Click the Select and Manipulate tool in the Main toolbar (i1003.tif).

3. Click and drag the green circles at the end of the spotlight cone to set the hotspot and falloff ranges, as shown in Figure 10-22.

Figure 10-22: Setting the hotspot and falloff ranges

f1022.tif

Target Direct Light

A Target Direct light has Target and Light nodes to help you control the direction and animation of the light. It also has a hotspot and beam, as well as a falloff, much like the Target spot. However, where the Target spot emits light rays from a single point (the light source) outward in a cone shape, the Target Direct light casts parallel rays of light within its beam area. This helps simulate the lighting effect of the sun, because its light rays (for all practical purposes on Earth) are parallel. Figure 10-23 shows a Target Direct light in a viewport.

Because the directional rays are parallel, the Target Direct lights have a beam in a straight cylindrical or rectangular box shape instead of a cone.

You can create a Target Direct light much the same way as a Target spot.

1. Select Target Direct from the Create panel and click in an Orthographic window to set the light and define the target direction and length of the light by dragging.

2. Select the light for the Target Direct light and open the Modify panel.

In the Directional Parameters rollout, you’ll find the same parameters for the Target Direct light that you had for the Target spot. The procedure to select the light is the same as for the Target spot, as well. You can select the middle of the light for the whole object, or you can select either the target or light. You have to select the light to bring up the parameters for the light object.

Figure 10-23: A Target Direct light

f1023.eps

Although the spotlight and the directional light don’t seem to be very different, the way they light is strikingly different, as you can see in Figure 10-24.

Figure 10-24: A Target spot (left) and a Target Direct spot (right)

f1024.tif

The spotlight rays cast an entirely different hotspot and shadow than the directional light, despite having the same values for those parameters.

It’s preferable to create lights in one of the Orthographic viewports because it gives you a better idea of size and direction than a Perspective or Camera viewport.

Free Spotlight

A Free spotlight is virtually identical to a Target spot, except that this light has no target object. You can move and rotate the free spot however you want, relying on rotation instead of a target to aim it in any direction. A Free spotlight is shown in Figure 10-25.

Figure 10-25: A Free spotlight does not have a target.

f1025.tif

To create a Free spotlight, choose Free Spot in the Create panel, click in a viewport, and drag to set its initial direction and length. The one other difference between a Free spotlight and a Target spotlight is that whereas the length of the Target spotlight is controlled by its target, a Free spot has a parameter in the General Parameters rollout of the Modify panel, as shown in Figure 10-26. You set the length by adjusting this unmarked value next to the Targeted check box. You will study the General Parameters rollout later in this chapter.

Figure 10-26: Spotlight General Parameters rollout.

f1026.tif

Adjusting the length of a spotlight will not matter when the light is rendered; however, seeing a longer light in the viewports can help you line up the light with objects in the scene. Likewise, you can shorten the length of the light to clear some wireframe clutter from your viewports.

Spotlights (including Target spots) are great for key lighting because they are very easy to control and give a fantastic sense of direction.

Free Direct Light

The Free Direct light is identical to the Target Direct light, but it doesn’t have the Target node. Its parameters are the same as the Free spot’s, and it is selected and moved in the same way. Figure 10-27 shows a Free Direct light.

Directional lights (including Target directs) are great lights to use as key lights. You can also use them for fill lights, although the hotspot size must be large to avoid seeing the edges of the hotspot.

Figure 10-27: A Free Direct light

f1027.tif

Directional lights are also used frequently to simulate sunlight, although their beams must be quite wide to avoid any chance of seeing the hotspot or falloff area.

Omni Light

The Omni light in 3ds Max is a point light that emanates light from a single point in all directions around it. Figure 10-28 shows an Omni light.

Figure 10-28: An Omni light is a single-point source light.

f1028.tif

Unlike the spot and directional lights, the Omni light does not have a special rollout, and its General Parameters rollout is much simpler, as shown in Figure 10-29.

Figure 10-29: Omni light General Parameters

f1029.tif

An Omni light is shown rendered in Figure 10-30. Notice how the ground plane is brighter directly below where the light sits.

Figure 10-30: An Omni light lights the sphere and floor.

f1030.tif

Omni lights are not as good for simulating sunlight as directional lights are. The Omni light’s rays spread from a single point source, so by the time they reach their subjects, the light direction and shadows will be too disparate across the scene. In Figure 10-31, the Omni light in the image on the left creates different shadow and lighting directions for all the objects in the scene, and the directional light in the image on the right creates a uniform direction for the light and shadow, as would the sun here on Earth.

Figure 10-31: Omni light (left) and directional light (right)

f1031.tif

Try to avoid casting shadows with Omni lights, because they will use a lot more memory than a spotlight when casting shadows.

Omni lights are good for fill lights as well as for simulating certain practical light sources that have a brighter center and fall off evenly around that bright spot on all three axes. You could even use Omni lights for all three points in your three-point lighting system, as shown in Figure 10-32 on the chessboard scene. This lighting gives the scene a nice soft feel with crisp shadows.

Figure 10-32: Using Omni lights for all three points in a three-point lighting system

f1032.tif

Skylight

Skylight is a special 3ds Max light used with an advanced rendering method to quickly generate a scene rendered in a soft outdoor light. We will not be covering this advanced lighting and rendering methodology; however, here is a quick introduction to the light itself.

Figure 10-33 shows a Skylight high above the scene with the three spheres. It is created by selecting the Skylight button in the Create panel and clicking to place it in a viewport.

Figure 10-33: A Skylight placed over the spheres and ground plane

f1033.tif

The Skylight Parameters rollout is shown in Figure 10-34.

Figure 10-34: The Skylight Parameters rollout

f1034.tif

The Skylight is used to create a soft, global lighting to simulate light from the sky. This look is often seen with renders using Global Illumination or Radiosity. In these lighting/rendering solutions, the Skylight creates a sky dome that sits around the objects in the scene. Light is emitted from the entire surface area of the dome to cast an even light throughout the scene, much as the sky lights an outdoor area.

The rendering of a Skylight scene, as shown in Figure 10-35, is flat and bright. There is no definition because shadows are not enabled.

Turning on shadows gives you a beautiful render, as shown in Figure 10-36, with soft shadows and contact shadows that really make the spheres look as if they are sitting outside in afternoon light.

The render time for this frame, however, is significantly longer than that for any of the other renders so far in this chapter. Calculating soft light such as this is quite intensive unless a lighting plug-in such as Light Tracer is enabled in the render setup.

Figure 10-35: The Skylight flattens the spheres and blows them out.

f1035.tif

Figure 10-36: Turning on shadows for the Skylight dramatically increases render times, but it gives a nice effect with soft shadows, mimicking a Radiosity effect.

f1036.tif

Common Light Parameters

Most of the parameters for the Standard lights are the same for all the lights and will be described in this section. You may want to create a spot or directional light so you can follow along with the information about light parameters given here.

General Parameters Rollout

The General Parameters rollout for all the Standard lights (except for Skylight) is shown in Figure 10-37. In the Light Type section, you can change the type of light that is currently selected. Simply choose the type (Spot, Directional, Omni) from the drop-down menu. 3ds Max will replace the light with the new light type; it won’t change its position or orientation. This can be immensely helpful when you are deciding which light will work best for a scene. Otherwise, you would have to delete and re-create lights to find the solution that best suits your scene.

Figure 10-37: The General Parameters rollout is the same for all the Standard lights.

f1037.tif

You can turn a Free Spot or Free Directional to a target of the same kind by checking the Targeted check box. Of course, the On toggle controls whether the light is on or off in the scene.

In the Shadows section of the General Parameters rollout for these lights, you will find the controls for the shadow-casting properties of the selected light. Use the drop-down menu to select the type of shadows to cast. The two most frequently used shadow types, Shadow Map and Ray Traced Shadows, are discussed later in the chapter.

The Use Global Settings toggle can be very useful. When it is turned on, all of the lights in your scene will be set to use the same Shadow parameters of the light you have selected and for which you have enabled Use Global Settings. This is useful in the event you need the same type of shadows cast from all the lights in the scene. It can save you the hassle of specifying the settings for all the lights. It does, however, limit you to the same shadow settings for all the lights. While you are learning, you should leave Use Global Settings off and set each light manually as needed. Again, shadows are covered a little later in this chapter.

Intensity/Color/Attenuation Rollout

The Intensity/Color/Attenuation rollout, shown in Figure 10-38, is used to adjust your light’s brightness and color settings.

Figure 10-38: The Intensity/Color/Attenuation rollout

f1038.tif

Light Intensity

The Multiplier parameter works like a dimmer switch for a light. The higher the value is, the brighter the light will be. The Multiplier can go into negative values. A negative amount will subtract light from your scene, allowing you to create dark areas within lit areas or to remove excess light from a surface that has unwanted spill light.

Light Color

The color swatch next to the Multiplier field is used to add color to your light. Simply click on the color swatch to open the Color Selector. The darker the color is, the darker the light will be.

Light Decay

Figure 10-39: A light with no decay evenly illuminates all the numbers.

f1039.tif

Under the Decay section, you can set the way your light fades across distance. This is not the same as falloff with spots and directional lights, though. Falloff occurs on the sides of a hotspot, whereas decay happens along the path of the light as it travels away from the light. Figure 10-39 shows a light with no decay type set. Figure 10-40 shows the same light with its decay type set to Inverse. Figure 10-41 shows the same light with the decay type set to Inverse Square. Notice the decay rate increases with each successive figure.

If no decay is set for a light, its intensity remains at full strength from the light to infinity. An Inverse decay diminishes the intensity of the illumination over distance traveled according to some brainy formula. An Inverse Square decay more closely resembles the decay of real-world light, and it is a stronger rate of decay than Inverse decay. Use this decay rate to drop off the effect of a light quickly before it reaches too far into the scene; however, you may need a stronger Multiplier value to increase your light’s intensity to compensate for the much faster decay.

Figure 10-40: A light with Inverse decay illuminates the back numbers less.

f1040.tif

Figure 10-41: A light with Inverse Square decay illuminates the first two numbers and begins to lose the remaining three.

f1041.tif

In Figure 10-42, you can quickly see and set the start of a decay in spot and directional lights by changing the Start value in the Decay section of the rollout.

Figure 10-42: Seeing the start of a light’s decay helps you understand how it will illuminate your scene.

f1042.eps

In Figure 10-43 you can see a decay start that is closer to the light, and its effect on the render in the top-left corner. The start of the decay is moved closer to the spheres in Figure 10-44.

Figure 10-43: A decay start

f1043.tif

Figure 10-44: A decay start closer to the spheres

f1044.tif

Light Attenuation

Light attenuation is another way to diminish the intensity of a light over distance. With attenuation, however, you have more implicit control on the start and end of the fade, and you can specify an area where the light fades in and then fades out. To do this, set the Attenuation distances to the desired effect.

Near Attenuation Group

The following values set the distances where the light fades into existence:

Use Toggles on/off the use of near attenuation for the light.

Show Displays the near attenuation range settings in viewports. For spotlights, attenuation ranges appear as lens-shaped sections of the cone. For directional lights, the ranges appear as circular sections of the cone. For Omni, the ranges appear as spheres. By default, Near Start is dark blue and Near End is light blue.

Start The distance at which the light starts to fade in.

End The distance at which the light reaches its full intensity.

Figure 10-45 shows a render of near attenuation at work. The first numbers are darker than the back numbers. Figure 10-46 shows a spotlight and the Attenuation display in the viewport.

Figure 10-45: Near attenuation fades in the light.

f1045.tif

Figure 10-46: The spotlight displays the attenuation distances.

f1046.eps

Far Attenuation Group

The following values set the distances where the illumination fades out of existence:

Use Toggles on/off the use of far attenuation for the illumination.

Show Displays the near attenuation range settings in viewports. For spotlights, attenuation ranges appear as lens-shaped sections of the cone. For directional lights, the ranges appear as circular sections of the cone. For Omni, the ranges appear as spheres. By default, Near Start is dark blue and Near End is light blue.

Start The distance at which the illumination starts to fade away.

End The distance at which the illumination has faded to nothing.

Figure 10-47 shows a render of the far attenuation on the same set of numbers, using the same light as before. Now the lights fade into darkness the farther back they are in the scene, which is similar to decay. Figure 10-48 shows the Far Attenuation display for the spotlight. Figure 10-49 shows the Attenuation display for an Omni light in a viewport.

Figure 10-47: Far attenuation fades out the light.

f1047.tif

Figure 10-48: The spotlight displays the attenuation distances.

f1048.eps

Figure 10-49: The Attenuation display for an Omni light

f1049.eps

You can always use both near and far attenuation to set a sliver of light in your scene, as shown in Figure 10-50. As you can see, attenuation is a more precise way than decay to set a diminishing light intensity.

Figure 10-50: Using both near and far attenuation gives you a slice of light where you need it.

f1050.tif

Both decay and attenuation are important to use when the light needs to be realistic. Light decays in real life; your renders will assume a higher fidelity when the lights in them decay. The effect may be subtle, but it can make a large difference.

Advanced Effects Rollout

Figure 10-51: Advanced Effects rollout

f1051.tif

The Advanced Effects rollout (shown in Figure 10-51) enables you to control how a light affects the surfaces it illuminates. You can increase or decrease the contrast and softness of a light’s effect on a surface. You can also dictate which component of the light is rendered on the surface.

Contrast and Soften

By adjusting the Contrast and Soften Diffuse Edge values, you can alter the way the light hits your surface. The image in Figure 10-52 was rendered with default Contrast and Soften Diffuse Edge values. The image in Figure 10-53 was rendered with a Contrast value of 25 and a Soften Diffuse Edge value of 50. It has deeper contrast, but with slightly softer values leading from the diffuse color.

Contrast Changes the contrast level between the diffuse and ambient areas of the surface when lit.

Soften Diffuse Edge Controls the softness of the edges between the diffuse and ambient areas of the lit surface.

Figure 10-52: Using default Contrast and Soften Diffuse Edge values

f1052.tif

Figure 10-53: Using a Contrast setting of 25 and a Soften Diffuse Edge setting of 50

f1053.tif

Light Components

Light in a CG program is differentiated into an ambient, a diffuse, and a specular component. The ambient component of light is the general ambient light in a scene. There is no direction to ambient light, and the light itself is cast evenly across the extent of the scene. The diffuse component of light is the way it illuminates an object by spreading across its surface. The specular component of light is how the light creates highlights on a surface, especially when that surface is glossy. (You may want to review the discussion of these components in Chapter 7, “Materials and Mapping.”)

Figure 10-54: Only the diffuse component of the lights is rendered.

f1054.tif

In the Affect Surfaces section of the Advanced Effects rollout, you can toggle on the Diffuse, Specular, and Ambient Only check boxes to render only those components of the light on the surfaces they illuminate. This is a good way to separate your renders into lighting components that you can later control in compositing, although it leads to a longer workflow.

Figure 10-54 is rendered with the diffuse component of the lights in the scene. Figure 10-55 shows only the specular highlights rendered. Figure 10-56 shows only the ambient light rendered on the objects.

Figure 10-55: Only the specular component of the lights is rendered.

f1055.tif

Figure 10-56: Only the ambient light in the scene is rendered.

f1056.tif

Ambient Light

Ambient light in 3ds Max is not a light per se; it is a global setting in the render environment. Ambient light, in short, is an even light with no direction or source. It is a way to globally brighten the entire scene to add an even light to all objects. Using too much ambient light will wash out your objects and give you flat renders.

To set an ambient light level in your scene, in the main menu select Rendering ⇒ Environment to open the Environment and Effects dialog box shown in Figure 10-57.

Figure 10-57: The Environment and Effects dialog box

f1057.tif

To set an ambient light, click on the Ambient color swatch under the Global Lighting section and pick an appropriate color. The brighter the color, the brighter the ambient light will be throughout the scene.

You can also create an ambient light in your scene by creating an Omni light and toggling on the Ambient Only check box under the light’s Advanced Effects rollout.

Lighting the Red Rocket

Now that we have an overview of how lights work in 3ds Max, let’s put them to good use and light the Red Rocket textured model from Chapter 7. Because lighting goes hand in hand with rendering, we will create the basic lighting setup based on the three-point system discussed earlier in this chapter. We’ll work more with the lighting and settings when we get to Chapter 11, “3ds Max Rendering.”

Occasionally, setting a project and opening a scene file fails to open all the appropriate image files used in the scene. In these cases, you will have to reconnect the image files needed by navigating to their folders (usually in the project’s SceneAssets/Images folder) and picking the files manually. 3ds Max will give you the error message and give you a chance to replace the files when you first open the scene.

Set your current project to the Red Rocket project you’ve copied to your hard drive from this book’s companion web page. Open ROCKET_LIGHT_START.max from the Scenes folder of the Red Rocket project.

This scene is very simple (Figure 10-58). It is the final rocket from Chapter 7. (If you prefer, you can use your own rocket file.)

Figure 10-58: The rocket set into a simple room

f1058.tif

The rocket, with all its many parts, has been frozen in the scene on the companion web page at www.sybex.com/go/intro3dsmax2011 so you can work freely without worrying about selecting objects other than the lights. The rocket and the room it is in can be unfrozen by going to the Layer Manager and clicking the Unfreeze icon next to the Rocket layer (as shown in Figure 10-59).

Figure 10-59: Use the Layer Manager to unfreeze parts of the scene.

f1059.eps

To begin lighting the rocket, follow along here:

1. Go to the Create panel and select the Lights icon (i1001.tif) to bring up the selection of lights you can create.

2. Click the Target Spot button to create a Target spot. Go to the Top viewport, and click and drag from the right side of the viewport toward the middle, as shown in Figure 10-60. The click will create the light; the drag places the target.

Figure 10-60: Click and drag from the right side toward the middle.

f1060.tif

When you create your first light, the Camera viewport will turn dark momentarily. This is because when you create a light, the default lights are removed from the scene.

3. Move to the Front viewport, select the light, and move it up as shown in Figure 10-61. If your front view is not visible, simply select one of the viewports and press F for the Front viewport.

Figure 10-61: Move the light.

f1061.tif

4. Name the light Key Light. This light will have shadows and give the scene its main source of light and direction.

5. Go to the Modify panel, check the On box under Shadows, and set Shadow Type to Shadow Map. This is the default shadow type. Later in the chapter, we will expand on all the shadow types and their uses in 3ds Max.

6. Go to the Intensity/Color/Attenuation rollout in the Modify panel, and set the Multiplier setting to 0.8. As you learned earlier in the chapter, the Multiplier setting acts like a dimmer switch and controls the light’s brightness.

7. In the Spotlight Parameters rollout, change the Hotspot/Beam parameter to 18 and the Falloff/Field value to 38. Both these parameters affect the width of the cone of light. The closer the two values are, the sharper the edge of the light will be; the farther they are from each other, the softer the light will be.

Try a render (press F9 for a Render Last), and you will see the rocket as shown in Figure 10-62.

Figure 10-62: Rendering the rocket with the first light in place

f1062.tif

Not bad, but look at how dark the shadow is. Once we add a fill light, the shadows will be better. For the fill we’ll use an Omni light. You may also notice that the rocket looks a bit like it is floating above the ground. Let’s address that issue first, in the following steps:

1. Select the key light (the Target spot), and in the Shadow Map Params rollout (Figure 10-63), change the Bias parameter to 0.1. Bias moves the shadow toward or away from the object. The shadow is too far away from the rocket, and that is why in Figure 10-62 it appears to be floating.

Figure 10-63: The Shadow Map Params rollout

f1063.tif

2. In that same rollout, change the Size parameter to 1500. Size specifies the amount of resolution in the shadow; the more the pixels the more crisp the edge of the shadow will appear.

3. Go back to the Create panel to create another light. Click to create an Omni light. In the Top viewport, click in the bottom-left corner of the room to place the Omni as shown in Figure 10-64.

4. In the Front viewport, move the light up about half the height of the backdrop.

5. The Omni is just a fill light in this scene, so we don’t want any shadows from it. Furthermore, we will turn off specular highlights on the rocket from this light to make sure the render looks as if there is only one light in the room. By default, shadows are always off, but we must turn off specular highlights manually. With the Omni light selected, go to the Modify panel and, under the Advanced Effects rollout, uncheck Specular as shown in Figure 10-65.

Figure 10-64: Place an Omni light in the scene.

f1064.tif

Figure 10-65: Advanced Effects rollout

f1065.tif

6. Go to the Intensity/Color/Attenuation rollout for the Omni light, and change the Multiplier to 0.3.

7. Render again (press F9), and you’ll see the render looks better but the rocket’s shadow is still dark (Figure 10-66).

Figure 10-66: The rocket with a key and fill light

f1066.tif

8. To fix the darkness of the shadow in Figure 10-66, we could add more lights to the scene, but then the scene would get too bright. The solution is to adjust the density of the shadow (you will see more on shadows in the next section). Select the key light, go to the Modify panel, and in the Shadow Parameters rollout, change the Object Shadows Dens parameter to 0.8 (Figure 10-67).

Figure 10-67: The Shadow Parameters rollout

f1067.tif

9. Press F9 for another Render Last (or press the teapot icon in the Main toolbar), and you will see that the rocket’s shadow looks much better (Figure 10-68).

This exercise used what is arguably the most popular shadow-casting method. There are other ways to cast different types of shadows, each with its own advantages and distinct look. In the following section, we will explore different shadowing techniques.

When creating shadows, don’t be too quick to smother your scene with light, or too eager to show off your careful modeling work and textures. Leaving objects in shadow and darkness is as important as revealing them in light. You can say a lot visually by not showing parts of a whole, and leaving some interpretation to the audience.

Figure 10-68: The rocket is lit!

f1068.tif

Using shadows intelligently is very important in lighting your scenes. Without the shadows in the rocket scene, the rendered image would look weird. The rocket would float in the scene and have no contact with its environment. You would also lose a great deal of the sense of direction without shadows.

A careful balance of light and dark is important for a composition. The realism of a scene is greatly increased with the simple addition of well-placed shadows. Don’t be afraid of the dark. Use it liberally, but in balance.

You can create the following types of shadows in 3ds Max:

  • Advanced Ray Traced
  • mental ray Shadow Map
  • Area Shadows
  • Shadow Map
  • Raytraced Shadows

Each type of shadow has its benefits and its drawbacks. The two most common types used are Shadow Maps (which you’ve already seen) and Raytraced shadows.

Controls in the Shadow Parameters rollout and the shadow type–specific rollouts are available when you select the shadow type.

Shadow Parameters Rollout

The settings in the Shadow Parameters rollout govern the common parameters for all shadow types discussed here. In this rollout, you can adjust the color of your shadow as well as its density (i.e., how dark it appears). See Figure 10-69. You should always check your light’s Multiplier values to make sure your fill light does not wash out your shadows before you adjust the shadow parameters themselves. For instance, the fill light generally has a lower intensity than the key light.

Click on the color swatch to pick a color for your shadows. More often than not, you will have your shadow colors at black or close to black. You can also control the density of the shadows by adjusting the Density value. As you can see in Figure 10-69, adjusting the density changes how much of the shadow is rendered. A Density of 0 will turn off your shadows, in essence.

Figure 10-69: Shadow density

f1069.eps

Interestingly enough, you can also apply a map to your shadow by checking the Map box and clicking on the button currently labeled None. From there, you can choose a map. In Figure 10-70, a checker map was mapped to the shadow on a fruit arrangement. Notice how the checker pattern shows up just in the shadows between and on the fruit.

Figure 10-70: You can map a texture to the shadow, as shown on this fruit still-life render.

f1070.tif

Selecting a Shadow Type

For the most part, you will be more than happy with the results from a Shadow Map shadow in your scenes. However, to get shadows to respond to transparencies, you will need to use Raytraced shadows. Additionally, if you need to soften your shadows the farther they are cast from the object, you will need to use Area shadows. These shadow types are discussed next.

Shadow Maps

The Shadow Map is a generated bitmap file during a pre-rendering pass of the scene. This map is used to place the shadows in the final render. It is often the fastest way to cast a shadow. However, Shadow Map shadows do not show the color cast through transparent or translucent objects. Once you select Shadow Map in the General Parameters rollout for a light, the Shadow Map Params rollout appears. It was shown earlier in Figure 10-63.

Because this shadow type relies on maps, it is important to be able to control the resolution of the generated maps. When you are close to a shadow, in order to avoid jagged edges around it the resolution needs to be higher for the cast shadow than it would if it were farther from the camera.

The following parameters are useful for creating Shadow Maps:

Bias The shadow is moved, according to the value set, closer to or farther away from the object casting the shadow. Figure 10-71 shows how the bias moves the shadow away the higher the value is set.

Figure 10-71: The bias offsets the shadow from the casting object.

f1071.eps

Size Detailed shadows will need detailed Shadow Maps. Increase the Size value, and 3ds Max will increase the number of subdivisions for the map, which in turn increases the detail of the shadow cast. Figure 10-72 compares using a low Shadow Map Size setting to using one four times larger. Notice how the shadows on the left (Size = 1024) are somewhat mushy and less noticeable, and the shadows on the right (Size = 4096) are crisp and clean. You don’t want to set your Shadow Map size to be too high, though. It will increase render time for little to no effect. A size around 2048 is good for most cases. Scenes like this chessboard that have a large scale to them will require higher Size values, such as the 4096 used. The rule of thumb is to use the lowest Size value that will get you the best result for your scene.

In some scenes, you may discover that no Shadow Map Size setting will give you good results (for instance, in large outdoor scenes). In these cases, you will have to revert to a different shadow method, such as Raytraced shadows.

Sample Range This creates and controls the softness of the edge of shadow-mapped shadows. The higher the value is, the softer the edges of the shadow will be. Figure 10-73 shows you how soft edges (on the left) can make the lighting seem weaker or farther away from the subject than crisp shadows (on the right).

Figure 10-72: The Shadow Map Size setting affects the shadow detail.

f1072.eps

Figure 10-73: Soft-edge shadows versus crisp-edged shadows

f1073.eps

Raytraced Shadows

Raytracing involves tracing a ray of light from every light source in all directions and tracing the reflection to the camera lens. You can create more accurate shadows with raytracing than with other methods. However, the render takes significantly longer to calculate. Raytraced shadows are always hard edged, yet they are realistic for transparent and translucent objects. Figure 10-74 shows a pair of chess pieces rendered with a plane casting a shadow over them. The plane has a checker mapped to its opacity, so it has alternating transparent and opaque squares defining the checkerboard. On the left side of the image in Figure 10-74, the light is casting Shadow Map shadows, while on the right the light is casting Raytraced shadows.

Figure 10-74: Ray Traced shadows react to transparencies, and Shadow Maps do not.

f1074.eps

Use Raytraced shadows when you need highly accurate shadows or when Shadow Map resolutions are just not high enough to get you the crisp edges you need. You can also use Raytraced shadows to cast shadows from wireframe rendered objects.

The Ray Traced Shadow Params rollout (see Figure 10-75) controls the shadow. The Ray Bias parameter is the same as the Shadow Map Bias parameter in that it controls how far from the casting object the shadow is cast.

Figure 10-75: Ray Traced Shadow Params rollout

f1075.tif

Creating Soft Shadows Due to Distance

The only way you will be able to create a natural shadow that softens the farther it gets from the casting object is to use Area shadows. These types of shadows are natural. If you notice a telephone pole’s shadow, the farther the shadow is from the pole, the softer the shadow becomes. Adding such a shadow to a render can greatly increase the realism of the scene.

To enable a soft shadow such as this, select Area Shadows as your shadow type. At default parameters, the Area shadow will work for you to generate nicely soft shadows. Figure 10-76 shows a regular Raytraced shadow. Figure 10-77 shows an Area shadow at the default settings.

Figure 10-76: A Raytraced shadow is too hard-edged.

f1076.tif

Figure 10-77: An Area shadow begins to soften at the ends.

f1077.tif

Go to the Area Shadows rollout shown in Figure 10-78. To adjust the softness of the shadows, you will not want to increase the Sample Spread value, because that parameter, just like the Sample Range of the Shadow Map shadow, softens the entire shadow. A true shadow is crisp where it meets the casting object and softens as it casts away.

Figure 10-78: The Area Shadows rollout

f1078.tif

To further soften the ends of the shadows, in the Area Light Dimensions section of the rollout, set the Length to 80 and the Width to 60. This will increase the softness of the shadow in a realistic way while keeping the contact shadow crisp. However, the render, shown in Figure 10-79, does not look very good. The soft ends are very grainy.

You will need to increase the quality of the shadow, so set Shadow Integrity to 6 and Shadow Quality to 10. The render will take longer, but you will get a beautiful shadow, as shown in Figure 10-80.

Figure 10-79: The render with Length set to 80 and Width set to 60

f1079.tif

Figure 10-80: Increase the shadow quality to obtain a very realistic shadow.

f1080.tif

Atmospheres and Effects

Creating atmospheric effects with lights, such as fog or volume lights, is accomplished through the Atmospheres & Effects rollout in the Modify panel for the selected light, as shown in Figure 10-81.

Figure 10-81: Atmospheres & Effects rollout

f1081.tif

Using this rollout, you can assign and manage atmospheric effects and other rendering effects that are associated with lights. In the following exercises, you will learn how to create a volumetric light (similar to a flashlight shining through fog). You will also learn how to exclude objects from a light so that the light does not illuminate them. This is an important trick to know.

Creating a Volumetric Light

Let’s create a fog light now.

1. Open the ROCKET_AMOSPHERE_START.max scene file in the Lighting Scenes folder on the companion web page. Go to Create panel ⇒ Lights and click on the Target Direct light. Move your pointer to the Top viewport, and click and drag from the top of the viewport down toward the rocket.

As shown in Figure 10-82, the light begins outside the room the rocket is in. This scene is already equipped with two Omni lights to act as fill lights in the room.

2. Move to the Front viewport and move the light up along the Y-axis, and then move the target so it is centered to point the light directly on the rocket, as shown in Figure 10-83. Make sure the light is shining into the room from outside through the window.

3. Activate the Camera viewport and do a Render Last (F9); you will see that the scene is being lit from the direction of the light (Figure 10-84).

This first render probably looks very odd. The rocket and floor have reflections on them, so they show up even if there is no light in the scene at all. That is the way reflections work.

Figure 10-82: The light begins outside the room the rocket is in.

f1082.tif

Figure 10-83: Move the light up and move the target.

f1083.tif

Figure 10-84: A test render of the rocket

f1084.tif

Adding Shadows

Now you need some shadows in the scene.

1. In the General Parameters rollout for the light, go to the Shadows section and check the box to enable shadows. Select Shadow Map from the drop-down menu. This will turn on Shadow Map shadows for this light.

2. Go to the Shadow Map Params rollout and set the size to 2048; this will add some sharpness to the shadow’s edge and make it more like a daylight shadow. Also change the Bias setting to 0.1, which will move the shadow so it is under the rocket. If you do a Render Last, you won’t see any shadows (as shown in Figure 10-85).

Figure 10-85: You won’t see any shadows if you do a Render Last.

f1085.tif

This is because the window is blocking the light. The window glass object has a material that has its Opacity turned down to 0. However, Shadow Map shadows don’t recognize transparency in materials. To solve this problem, you need to exclude the window-glass object from the light.

Excluding an Object from a Light

1. The Exclude button is in the General Parameters rollout for the light, just below Shadows. Click the Exclude button to bring up the Exclude/Include window shown in Figure 10-86.

Figure 10-86: The Exclude/Include window allows you to exclude certain objects from being lit by the light in the scene.

f1086.eps

2. Click on the Glass object and press the right arrows in the middle of the window (Figure 10-86) to add the Glass object to the other side, excluding the object from receiving light and casting light. Click OK.

3. Render your scene to take a look. Now you can see shadows. We didn’t exclude the whole window with its frame because the inside frame is a nice detail to cast shadows. Figure 10-87 shows the render with the shadows.

Figure 10-87: Shadows!

f1087.tif

Adding a Volumetric Effect

Figure 10-88: The Add Atmosphere or Effect settings

f1088.tif

The whole point of this exercise is to add volume to the light. This will give this scene some much needed atmosphere.

1. Go to the Atmospheres & Effects rollout for the light. Select Add from the rollout to open the Add Atmosphere or Effect window, which is shown in Figure 10-88.

2. In the window, select Volume Light and click OK to add the effect to the light. Volume Light will be added to the rollout, as shown in Figure 10-89.

Figure 10-89: Add Volume Light to the rollout area.

f1089.tif

3. Render the scene. You should see a render similar to Figure 10-90.

To adjust the volume light, select the Volume Light entry in the rollout and click the Setup button. This will bring up the Environment and Effects dialog box. Scroll down to the Volume Light Parameters section to access the settings for the volume light, shown in Figure 10-91. Experiment with different settings to see how the volume light renders.

You can use Rocket_Atmosphere_Final.max in the Scenes folder of the Lighting scene Files project from the companion web page to see the results of this work, and to adjust as you wish.

Figure 10-90: Volume light!

f1090.tif

Figure 10-91: The Environment and Effects window displays the Volume Light parameters.

f1091.tif

Volume Light Parameters

The default parameters for a volume light will give you some nice volume in the light for most scenes, right off the bat. If you want to adjust the volume settings, you can edit the following parameters:

Exponential The density of the volume light will increase exponentially with distance. By default (Exponential is off), density will increase linearly with distance. You will want to enable Exponential only when you need to render transparent objects in volume fog.

Density This value sets the fog’s density. The denser the fog is, the more light will reflect off the fog inside the volume. The most realistic fogs can be rendered with about 2 to 6 percent Density value.

Most of the parameters are for troubleshooting volume problems in your scene if it is not rendering very well. Sometimes you just don’t know what that problem is and you have to experiment with switches and buttons. The Noise settings are another cool feature to add some randomness to your volume:

Noise On This toggles the noise on and off. Render times will increase slightly with Noise enabled for the volume.

Amount This is the amount of noise that is applied to the fog. A value of 0 creates no noise. If the Amount is set to 1, the fog renders with pure noise.

Size, Uniformity, Phase These settings determine the look of the noise and let you set a noise type (Regular, Fractal, or Turbulence).

Adding atmosphere to a scene can heighten the sense of realism and mood. Creating a little bit of a volume for some lights can go a long way to improving the look of your renders. However, adding volume to lights can also slow your renders, so use them with care. Also be aware that adding too much volume to a scene may look peculiar; use volumetric light sparingly and with good reason. Reserve it for when it is called for in the scene and will add ambience to the image.

Light Lister

If several lights are in your scene and you need to adjust all of them, selecting each light and making one adjustment at a time can become tedious. This is where 3ds Max’s Light Lister comes in handy. Accessed through the Main Menu bar by choosing Tools ⇒ Light Lister, this floating palette gives you control over all of your scene lights, as shown in Figure 10-92.

This is the perfect tool to edit your lights once you have them set up initially. You can choose to view/edit all the lights in your scene or just the ones that are selected. Using this easy dialog box gives you instant access to almost all the important light parameters in one place. When you adjust the values for any parameter in the Light Lister window, the changes are reflected in the appropriate place in the Modify panel for that changed light.

Figure 10-92: The Light Lister window

f1092.tif

Summary

Lighting is the aspect of CG that is arguably the most difficult to master (some users think it’s even harder than character animation), and it is the most easily criticized. People in the CG industry can tell very quickly when lighting is done poorly.

In this chapter, you began by reviewing some key concepts in CG lighting, including three-point lighting. Then you learned the different types of lights that 3ds Max has to offer, from default lights to Target spots, and how to use them. You dove into the common light parameters to gauge how best to control the lights in your scene before you moved on to creating various types of shadows. You ran through a set of short exercises in which you created a volumetric light for a fog effect and finished with a tour of the Light Lister window.

Several books are devoted to CG lighting. It is a craft that takes getting used to. This chapter introduced you to the concepts and tools you need to begin, and the next chapter will take this knowledge further into rendering. Now it’s your turn to take the models you have created (and the ones you will create in the future), texture them, and light scenes with them to develop an eye for the ins and outs of lighting.

There really is no quick way to learn how to light. It would be quite a disservice to pretend that a chapter, or even an entire book, will give you everything you need to know. Take the information and references in this chapter and apply them on your own. Working on your own may not sound like fun, and it may not seem as easy as being guided step by step, but it is the best education you will get.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset