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

Home > Articles > Digital Audio, Video > 3D

This chapter is from the book

Creating Lights

As in nature, illumination in 3ds max is the product of a complex interaction of lights and objects. To participate, lights and objects must be placed so that there is a direct line of sight between them, and objects must be renderable.

3ds max 6 offers four basic types of lights (Figure 11.5):

  • Omni light—Radiates light in all directions from a single source point.

  • Skylight—Simulates diffuse outdoor lighting from the dome of the sky.

  • Spotlight (target and free)—Illuminates an area within a cone, similar to a stage light. Target spotlights point at a target that you aim. Free spotlights have no target, so they can be maneuvered more easily.

  • Directional light (target and free)—Like spotlights, directional lights use a cone of illumination, except that the cone sides are parallel. This is because directional lights have parallel rays, while spotlights spread light from a single source point.

You create basic lights in the Lights branch of the Create panel (Figure 11.6).

New to 3ds max 6 are the mr area omni and the mr area spot light types. Designed to work with mental ray, max 6's advanced new ray tracing rendering engine, these lights are variations on the basic omni and spot light types. To learn more about mental ray, please refer to the 3ds max 6 New Features Guide and the 3ds max 6 User Reference.

Figure 11.5Figure 11.5 The basic light types. Free spotlights and free directional lights look the same as their targeted counterparts, minus the target box.

Figure 11.6Figure 11.6 The Lights branch of the Create panel.

In addition to the basic light types, there are two types of lighting systems that you create in the Systems branch of the Create panel:

  • Sunlight system—A hybrid light source that combines a free directional light with a Compass object to simulate the position of the sun as it moves across the sky over time.

  • Daylight system—A hybrid light source that combines the direct light of the sun with the scattered light of the sky to produce realistic outdoor lighting that changes over time. Daylight systems use an advanced type of lighting called photometric lights by default (see sidebar).

By default, shadow casting is turned off for basic lights and turned on for lighting systems. Ambient light, the diffuse background light of a scene that fills in shadow areas, is turned off by default.

When you start building a scene in 3ds max, the default lighting has no direction. No matter which viewport you look in, the light appears brightest on the sides of the objects that face you. This lighting configuration was designed to make modeling easier, as the object facing you in the middle of the viewport is always fully lit.

There is a second default lighting configuration that places two omni lights along a diagonal through the world origin, from top-left-front to below-right-back. This lighting is more realistic and interesting.

Photometric Lights

Photometric lights simulate realistic lighting based on physical measurements of light intensity. 3ds max offers eight types of photometric lights: target point lights, free point lights, target linear lights, free linear lights, target area lights, free area lights, IES skylights, and IES sunlights. For more information on photometric lights and their settings, see the 3ds max 6 User Reference.

Lighting requires a bit of finesse. To make the process easier, you will start by creating a practice scene, and then add lights to it until the scene is fully illuminated.

To create a practice scene:

  1. Rotate the Perspective view so that the front of the grid is parallel to the bottom of the viewport (Figure 11.7).

  2. In the Perspective viewport, create some light-colored objects and place them near the origin. Then place a white plane underneath (Figure 11.8).

  3. The light colors of the objects will make it easier to see the effects of light.

  4. With the Perspective viewport still active, open the Viewport Configuration dialog box by right-clicking a viewport label and choosing Configure, or right-clicking any viewport control button.

  5. In the Rendering Method tab panel, check Default Lighting and select 2 Lights (Figure 11.9). Then click OK.

  6. Change the Perspective viewport to an ActiveShade viewport by choosing ActiveShade Viewport in the Rendering menu, or by right-clicking the viewport label and choosing ActiveShade under Views.

  7. The ActiveShade viewport renders the scene (Figure 11.10).

  8. In the Front viewport, zoom out and pan so you will have plenty of room to place lights around the scene.

  9. Choose File > Save, and name your scene Practice.max.

  10. Choose File > Save As, and name your scene Practice00.max. This will serve as a back-up copy in case you accidentally save over your scene.

Figure 11.7Figure 11.7 When you build a scene on a grid that is parallel to the viewport, it makes it easier to position lights around it.

Figure 11.8Figure 11.8 The practice scene consists of light-colored objects.

Figure 11.9Figure 11.9 This setting creates two default lights that you can later add to the scene from the Views menu.

Figure 11.10Figure 11.10 The ActiveShade viewport renders the new default lighting.

Like other objects, you create light objects by clicking and dragging. As soon as you create a light, the default lighting is turned off and the new light illuminates the scene.

A common way of lighting scenes is to use a bright key light for primary illumination of a scene, and one or more fill lights to make the dark edges of forms more discernable.

In the next three exercises, you'll create a spotlight for your key light and an omni light for your fill light, and then add a direct light to serve as an accent light.

To create a target spotlight:

  1. Open Practice.max.

  2. In the Create panel, open the Lights sub-panel.

  3. In the Object Type rollout, click Target Spot.

  4. In the Front viewport, click in the upper-left corner to create the spotlight. Then drag to the center of the scene to create the target and aim the light (Figure 11.11).

  5. The spotlight illuminates the objects within its cone. The default lights are turned off (Figure 11.12).

  6. In the General Parameters rollout, enable Shadows (Figure 11.13).

  7. The objects cast shadows. If the ActiveShade viewport does not show the shadows, right-click in the viewport and choose Initialize from the Tools quad menu.

    The viewport is redrawn. Shadows appear in the ActiveShade viewport and in rendered views (Figure 11.14).

  8. Save the scene as Practice01.max.

Figure 11.11Figure 11.11 A target spotlight has a source, a cone of illumination, and a target.

Figure 11.12Figure 11.12 The cone of illumination delimits the pool of light.

Figure 11.13Figure 11.13 After enabling shadows for the spotlight.

Figure 11.14Figure 11.14 The objects cast shadows based on the position of the source.

There are many parameters you can adjust on a light, but the settings that you usually adjust right away are the intensity, color, position, and aim. Additional light settings are explained in the sections on shadow casting and controlling illumination.

To adjust a target spotlight:

  1. Open Practice01.max.

  2. Select the spotlight.

  3. Open the Modify panel.

  4. In the Intensity/Color/Attenuation rollout, increase the Multiplier to 1.25, or just enough to brighten the scene without washing it out (Figure 11.15).

  5. In the Intensity/Color/Attenuation rollout, click the white color swatch.

  6. In the Color Selector: Light Color dialog box, select a color using the Blackness, Hue, and Whiteness sliders, or type in the RGB or HSV amounts (Figure 11.16).

  7. In the Top viewport, select and move the light so that it is about 30 in front of the scene (Figure 11.17).

  8. Right-click on the light and choose Select Light Target from the Tools 1 quad menu.

  9. Move the target to the origin. You can do this easily by right-clicking the X, Y, and Z spinners of the Transform Type-in boxes on the status bar, while in Absolute mode.

  10. Render your scene to see the result (Figure 11.18).

  11. Adjust the light further until you are satisfied. Then save your scene.

Figure 11.15Figure 11.15 The Multiplier increased to 1.25.

Figure 11.16Figure 11.16 Selecting a color for the light.

Figure 11.17Figure 11.17 After positioning the light to the front of the scene.

Figure 11.18Figure 11.18 After repositioning the light and its target.

Omni lights are made up of a single component that radiates in all directions. They are the simplest type of light to create and control.

To create an omni light:

  1. Open Practice01.max.

  2. In the Create panel, open the Lights sub-panel.

  3. In the Object Type rollout, click Omni.

  4. In the Front viewport, click in the lower-right corner to create the omni light (Figure 11.19).

  5. The objects in the scene are lit from below and to the right. The plane does not block the light because its surface normals face away from the light (Figure 11.20).

  6. In either the Top or Left viewport, move the omni light slightly in back of the scene so it is opposite the spotlight (Figure 11.21).

  7. In the Intensity/Color/Attenuation rollout, reduce the Multiplier of the light to around .5, or just enough to dimly illuminate the dark sides of the objects.

  8. Render the scene to see the result (Figure 11.22).

  9. Save the scene as Practice02.max.

TIP

To add the two default lights to the scene, open the Viewport Configuration dialog box by right-clicking on any viewport control button. In the Rendering Options area of the Rendering Method tab panel, enable Default Lighting and 2 Lights. Close the dialog box and choose Views > Add Default Lights to Scene. Two omni lights named DefaultFillLight and DefaultKeyLight are added to the scene, and can be adjusted like any other lights.

Figure 11.19Figure 11.19 After creating the omni light in the Front viewport.

Figure 11.20Figure 11.20 The scene is now lit from below right.

Figure 11.21Figure 11.21 After moving the omni light into position.

Figure 11.22Figure 11.22 The key light and fill light illuminate the objects from the front left and back right.

Free lights are aimed without using a target. This makes them easier to animate.

Free spotlights and directional lights are created with a single click. The light is automatically aimed at the grid of the viewport in which you clicked (the construction grid).

To create a free directional light:

  1. Open Practice02.max.

  2. In the Create panel, open the Lights sub-panel.

  3. In the Object Type rollout, click Free Direct.

  4. In the Top viewport, click on top of an object that you would like to highlight.

  5. The free directional light appears in the viewport on top of the object (Figure 11.23).

  6. In the Front or Left viewport, move the directional light above the object.

  7. The light singles out the object with additional illumination (Figure 11.24).

  8. Open the Modify panel. In the Intensity/Color/Attenuation rollout, reduce the Multiplier of the directional light so that it doesn't bleach out the object. Try a setting of around .5.

  9. In the General Parameters rollout, check On in the Shadows area to enable shadow casting for the directional light.

  10. Select the spotlight. Then reduce its intensity multiplier to around 1.1.

  11. Render the scene to see the result (Figure 11.25).

  12. Save the scene as Practice03.max.

TIP

Decreasing a Multiplier setting to a negative value causes a light to remove illumination from a scene.

Figure 11.23Figure 11.23 Place the free directional light directly over an object.

Figure 11.24Figure 11.24 When you first set the directional light, it may be too bright.

Figure 11.25Figure 11.25 After adjusting the lights and turning on cast shadows.

A skylight acts as a dome of light to create the illusion of outdoor lighting. No matter where you place a skylight, it always illuminates the scene from above.

To create a skylight:

  1. Open Practice.max.

  2. In the Create panel, open the Lights sub-panel.

  3. In the Object Type rollout, click Skylight.

  4. Click in any viewport.

  5. The skylight appears in the viewport (Figure 11.26).

  6. Choose Rendering > Advanced Lighting > Light Tracer from the menu bar.

  7. In the Advanced Lighting tab panel of the Render Scene dialog box, choose Light Tracer from the drop-down menu.

  8. The Light Tracer rollouts appear and become active (Figure 11.27).

  9. To make the scene more realistic, choose Render > Environment and change the Environment Background color to light gray.

  10. Click the ActiveShade viewport to activate it.

  11. From the Main toolbar, choose Quick Render (Production).

  12. The scene renders line by line. When it is done, the skylight diffusely illuminates the scene from above. Faint shadows gather below each object (Figure 11.28).

  13. Save as Practice04.max.

TIP

To increment a file name by +01, click the plus sign (+) in the Save File As dialog box.

Figure 11.26Figure 11.26 Placing a skylight in the scene.

Figure 11.27Figure 11.27 The Light Tracer controls skylights.

Figure 11.28Figure 11.28 The skylight diffusely illuminates the scene from above.<

A sunlight system is a combination of a free directional light and a compass rose that sets the orientation of the system. Ray-traced shadows are on by default.

To create a sunlight system:

  1. Open Practice.max.

  2. In the Create panel, open the Lights sub-panel.

  3. In the Object Type rollout, click Sunlight.

  4. In Control Parameters rollout, the time and date control the position of the sun along with a geographical location (Figure 11.29).

  5. In the Top viewport, click and drag to create a compass rose of any size.

  6. Move the cursor up or down to set the orbital distance of the sun. Then click to create the light (Figure 11.30).

  7. In the Control Parameters rollout, set the time, date, and time zone for the light. You can also set latitude and longitude, or pick a location by clicking Get Location (Figure 11.31).

  8. Open the Directional Parameters rollout in the Modify panel, and uncheck Overshoot. Then increase the Hotspot/Beam until the cone of illumination encompasses the entire scene, so that shadows will appear throughout.

  9. Click the ActiveShade viewport. Then click Quick Render (Production).

  10. Sunlight floods the scene. The ray- traced shadows are crisp and precise (Figure 11.32).

  11. Save as Practice05.max.

TIP

After creating a sunlight system, you change its settings in the Motion panel.

Figure 11.29Figure 11.29 The Sunlight system positions the sun according to the time, date, and geographical location that you set.

Figure 11.30Figure 11.30 The compass sets the direction; the light illuminates the scene.

Figure 11.31Figure 11.31 Picking a new location from the list.

Figure 11.32Figure 11.32 Sunlight casts crisp shadows.

A daylight system combines sunlight and skylight into one integrated system.

To create a daylight system:

  1. Open Practice.max.

  2. In the Create panel, open the Lights sub-panel.

  3. In the Object Type rollout, click Daylight.

  4. The Control Parameters rollout appears. It looks just like a Sunlight System rollout.

  5. In the Top viewport, click and drag to create a compass rose. Then move the cursor up or down and click to set the orbital distance of the daylight assembly head (Figure 11.33).

  6. In the Control Parameters rollout, set the time, date, and time zone for the light. You can also set the latitude and longitude, or pick a location by clicking Get Location.

  7. This positions the sun in the sky.

  8. Choose Rendering > Advanced Lighting > Light Tracer or press 9 on your keyboard.

  9. In the Advanced Lighting tab panel of the Render Scene dialog box, choose Light Tracer.

  10. Choose Render > Environment. Then choose a Background color for the sky.

  11. In the Exposure Control rollout, choose Automatic Exposure control from the drop-down menu. Then Activate the ActiveShade viewport, and click Render Preview (Figure 11.34).

  12. Adjust the exposure as needed. Then click Quick Render (Production).

  13. Sunlight and daylight illuminate the scene (Figure 11.35).

  14. Save as Practice06.max.

Figure 11.33Figure 11.33 The compass orients the daylight assembly head to the location.

Figure 11.34Figure 11.34 You adjust exposure in the Environment dialog box.

Figure 11.35Figure 11.35 The final scene is illuminated with both sunlight and skylight.

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