Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design

  • Print
  • + Share This
This chapter is from the book

Controlling Illumination

Controlling illumination is essential to creating realistic scenes. The following parameters fine-tune colors and gradations of light, and determine the surfaces that light will affect (Figure 11.61):

  • On—Enables illumination.

  • Type—Sets the light type.

  • Targeted—Enables a target.

  • Cast Shadows—Enables shadow casting.

  • ShadowType—Sets the shadow type.

  • Include/Exclude—Determines which objects are illuminated by the light.

  • Multiplier—Controls the intensity, or brightness, of a light.

  • Color—Sets the hue (chroma), saturation (purity), and value (intensity) of a light.

  • Decay—Diminishes the intensity of a light over its entire attenuation range.

  • Attenuation—Fades the light at either end of its range.

  • Hot Spot and Falloff—Sets the inner and outer boundaries of the cone of illumination.

  • Contrast—Sets the contrast between ambient and diffuse areas of illumination.

  • Soften Diff. Edge—Softens the edge between ambient and diffuse areas.

  • Diffuse—Adds the light to diffuse (middle value) areas of illumination.

  • Specular—Adds light to specular (high value) areas of illumination.

  • Ambient Only—Adds light to the minimum level of scene illumination.

  • Projector Map—Projects an image or animation into a scene.

Figure 11.61Figure 11.61 The parameters of a spotlight are the same as those of a directional light, and have much in common with omni lights.

By default, lights illuminate all objects within range. Turning off a light ends their illumination. Note that hiding a light does not turn it off.

To turn off a light:

  1. Open Practice03.max (Figure 11.62).

  2. Figure 11.62Figure 11.62 The practice scene before turning off the spotlight.

  3. Select a light.

  4. Open the Modify panel.

  5. Uncheck the On box in the General Parameters rollout (Figure 11.63).

  6. The light is turned off (Figure 11.64).

    Figure 11.63Figure 11.63 Uncheck the On box.

    Figure 11.64Figure 11.64 After turning off the spotlight, the scene is just illuminated by the direct light and the omni light.

  7. To turn the light back on, check the On box.

You can convert a light from one type to another in the Modify panel. When a light changes type, the illumination from the new light type replaces the illumination from the old type.

To change a light type:

  1. Open Practice03.max.

  2. Select a light.

  3. Open the Modify panel.

  4. In the General Parameters rollout, choose a light type from the Light Type drop-down list (Figure 11.65). The new light type replaces the selected light, using the same basic settings. The name of the light remains unchanged. If the name of the light is Omni01 and you have just changed it to a target spotlight, this is probably a good time to rename it.

  5. Figure 11.65Figure 11.65 Changing the spotlight to a directional light.

  6. Activate the ActiveShade viewport, and render the scene.

  7. The new light type replaces the old and illuminates the scene (Figure 11.66).

    Figure 11.66Figure 11.66 The spotlight has been changed to a direct light, which is narrower at the far end of its cone.

TIP

When you convert an omni light to any other type of light, it points toward the grid of the viewport it was created in.

The Targeted check box toggles a target on or off.

The Exclude command turns off the illumination of objects that are within range of a light. It can also turn off shadow casting.

To exclude objects from a light:

  1. Open Practice02.max.

  2. Select the spotlight.

  3. Open the Modify panel.

  4. Click Exclude in the General Parameters rollout (Figure 11.67).

  5. The Exclude/Include dialog box appears.

    Figure 11.67Figure 11.67 Click the Exclude button.

  6. Make sure Exclude and Both are selected in the upper-right corner.

  7. Select the names of the objects or group of objects you do not want to be illuminated or to cast shadows.

  8. Click the >> button.

  9. The names of the objects are moved to the Exclude list on the right (Figure 11.68).

    Figure 11.68Figure 11.68 Turning off both illumination and shadow casting for the cylinders, hedra, and teapot.

  10. Click OK.

  11. Render the scene.

  12. The excluded objects neither receive illumination nor cast shadows, giving them an air of mystery (Figure 11.69).

    Figure 11.69Figure 11.69 Without shadows or major illumination, the excluded objects appear to float in the scene.

TIP

To remove objects from the exclude list, and end the exclusion of objects, click the Clear button.

Using the Include button, you can selectively choose just those objects you want to include in a light. All other objects will be excluded automatically.

Color settings assign hue, value, and saturation to a light. The value of a color also affects its intensity. Brighter colors create brighter lights. Darker colors create dimmer lights.

To set color:

  1. Open Practice02.max.

  2. Select the spotlight.

  3. In the Intensity/Color/Attenuation rollout, click the color swatch just to the right of the Multiplier (Figure 11.70).

  4. Figure 11.70Figure 11.70 Click the color swatch.

  5. Choose a color from the Color Selector dialog box. There are two basic methods:

  6. The most intuitive way to do this is to click in the Hue palette on the left and drag the Whiteness slider next to it (Figure 11.71).

    When precision is important, you can set numeric RGB or HSV values using the color sliders, input fields, or spinners on the right (Figure 11.72).

    As you change the color of the light, the lighting updates in the shaded viewports.

    Figure 11.71Figure 11.71 Picking a color using the palette and whiteness slider.

    Figure 11.72Figure 11.72 Picking the same color numerically.

  7. When you are satisfied with the result, close the Color Selector dialog box.

  8. Render the scene to verify the results (Figure 11.73).

  9. Figure 11.73Figure 11.73 Blue light gives the scene a more somber cast.

TIP

Light and color can be animated over time.

Global lighting commands shift the base intensity and color of all the lights in a scene, including the default lights.

Initially, the base intensity is set to 1.0 and the base color is set to white. Ambient light, which sets the minimum level of scene illumination, is set to black (no light). Changing these settings will affect the overall amount of color and illumination of the scene.

Because ambient light brightens darker values, increasing it reduces contrast across surfaces. Use this setting sparingly, so it does not wash out your scene.

To set global lighting:

  1. Open Practice03.max (Figure 11.74).

  2. Figure 11.74Figure 11.74 Before affecting the global lighting of the scene.

  3. Choose Rendering > Environment to open the Environment dialog box.

  4. In the Global Lighting group, set the base intensity of the lights by adjusting the Level (Figure 11.75).

  5. The scene brightens or dims (Figure 11.76).

    Figure 11.75Figure 11.75 Reducing the global illumination.

    Figure 11.76Figure 11.76 All the lights are dimmed.

  6. Reset the Level to 1.0, then click the Tint color swatch.

  7. In the Color Selector: Global Tint dialog box, choose a hue and whiteness value.

  8. The color and intensity of the illumination updates.

  9. Click the Ambient color swatch.

  10. The Color Selector changes to the Color Selector: Ambient Light dialog box.

  11. Drag the Whiteness slider to set the minimum level of illumination. Then select a hue.

  12. Gradations of value become lighter throughout the scene, and become tinted by the hue that you selected.

  13. Render the scene to see the results (Figure 11.77).

  14. Figure 11.77Figure 11.77 Increasing the value of the ambient color reduces contrast in the scene.

A light cone is actually made of two concentric cones: the inner core of illumination, or hotspot, and the outer edge of illumination, or falloff. Between the hotspot and falloff cones, the intensity of the light gradually decreases to zero.

To set the hotspot and falloff:

  1. Open Practice03.max

  2. Select the spotlight.

  3. Open the Modify panel.

  4. In the Spotlight Parameters rollout, decrease the Falloff value. Then decrease the Hotspot value even more (Figure 11.78).

  5. The blue hotspot cone becomes narrower (Figure 11.79).

    In the ActiveShade viewport, the edge of the pool of light becomes softer (Figure 11.80).

    Figure 11.78Figure 11.78 Adjust the hotspot and falloff in the spotlight parameters rollout.

    Figure 11.79Figure 11.79 The hotspot and falloff cones move apart.

    Figure 11.80Figure 11.80 The pool of light gains a softer edge.

  6. Select the directional light.

  7. In the Directional Parameters rollout, decrease the Falloff amount so that both the hotspot and falloff cones become narrower.

  8. Render the ActiveShade viewport.

  9. The pool of light from the directional light becomes smaller, but its edges remain sharp (Figure 11.81).

    Figure 11.81Figure 11.81 The cone of the directional light narrows.

TIP

Check Show Cone to display the cone even when the light is not selected.

Checking Overshoot causes the light to ignore the boundaries of the hotspot and falloff cones and spread throughout the scene. Shadows, however, will be drawn within the cone of illumination only.

Click Rectangle to make the pool of light rectangular or square. The Aspect parameter sets the aspect ratio of the length and width of the rectangle. The Bitmap Fit button will match the aspect ratio to an external bitmap, in case you want to project the map, as shown in the next exercise.

Projecting maps into a scene creates the illusion that there is more going on than meets the eye.

To project a map:

  1. Open Practice02.max.

  2. Select the spotlight.

  3. Open the Modify panel.

  4. In the Advanced Effects rollout, click the Projector Map button labeled None (Figure 11.82).

  5. The Material/Map Browser window appears.

    Figure 11.82Figure 11.82 Click the Projector Map button.

  6. Double-click Bitmap (Figure 11.83).

  7. Figure 11.83Figure 11.83 Click Bitmap in the Material/Map Browser.

  8. Choose a bitmap image using the Select Bitmap Image File dialog box. For this example, I chose the SCATR4.gif in the 3dsmax5/Maps/Lights folder.

  9. When you click Open, the bitmap image is projected by the spotlight onto the scene.

  10. Increase the light multiplier to compensate for the reduced intensity of the bitmap.

  11. Render the scene (Figure 11.84).

  12. Figure 11.84Figure 11.84 The SCATR4 map projects spots of light and shadow.

TIP

A black-and-white map that is designed to be used with a spotlight is called a gobo map.

Try some of the other maps in the Material/Map Browser such as Brick, Cellular, Checker, Dent, Gradient Ramp, Perlin Marble, and Smoke (Figure 11.85).

Figure 11.85Figure 11.85 Projecting a checker map that has been tiled in the Material Editor.

Attenuation fades in a light near its source and fades out a light at the far end of its range.

To set attenuation:

  1. Open Practice02.max.

  2. Select the spotlight.

  3. Open the Modify panel and the Intensity/Color Attenuation rollout.

  4. In the Far Attenuation group, check Use and Show (Figure 11.86).

  5. The far attenuation ranges appear. In the ActiveShade view, the light from the spotlight will disappear if the objects are out of the light's current attenuation range.

    Figure 11.86Figure 11.86 Check Use and Show for Far Attenuation.

  6. Drag the Far Attenuation spinners so that the Start and End ranges just enclose the scene objects (Figure 11.87).

  7. Figure 11.87Figure 11.87 Setting the Far Attenuation range indicators.

  8. Render the scene to see the final result (Figure 11.88).

  9. Figure 11.88Figure 11.88 The light falls off across the scene more dramatically.

TIP

Because light can continue shining forever, it is a good idea to use far attenuation so that the program won't waste time making unnecessary calculations.

The Decay parameter increases the rate at which a beam of light diminishes as it moves away from its source.

Volume lighting is an atmospheric effect that is based on the real-world interaction between light and particulate matter such as fog, haze, dust, and smoke. It gives you the hazy glow of streetlights on a misty evening, the sweep of a lighthouse beacon on a foggy morning, or the rays of sunlight streaming through a window.

Volumetric lighting works with all types of light sources, although it is most commonly used with spotlights. Because volume lighting is a true 3D effect, you can render it only from viewports that use perspective projection.

To create a volume light:

  1. Select a light that illuminates a scene.

  2. Open the Modify panel.

  3. Open the Atmospheres & Effects rollout. (Note: This rollout does not appear in the Create panel.)

  4. Click the Add button (Figure 11.89).

  5. Figure 11.89Figure 11.89 Click Add in the Atmospheres & Effects rollout.

  6. Choose Volume Light from the Add Atmosphere or Effect dialog box (Figure 11.90). Then click OK.

  7. Figure 11.90Figure 11.90 Add Volume Light to the spotlight.

  8. Render the scene from a Perspective, Camera, or Light viewport.

  9. The light is rendered volumetrically (Figure 11.91).

    Figure 11.91Figure 11.91 The Volume Light renders in three dimensions.

TIP

Decreasing the size of the hotspot can make a Volume Light easier to control.

By animating attenuation, you can make a Volume Light "touch down" and "beam up."

Combining a projector map with a Volume Light creates interesting effects (Figure 11.92).

Figure 11.92Figure 11.92 When added to a Volume Light, a Cellular map projects in three dimensions.

  • + Share This
  • 🔖 Save To Your Account

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020