spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / 3d / column 13 / 1 current pageTo page 2
[next]

Sr. Programmer/Analyst
Professional Technical Resources
US-OR-Portland

Justtechjobs.com Post A Job | Post A Resume
Developer News
Metasploit 3.2 Offers More 'Evil Deeds'
'Thank You Apple. Seriously.'
The Buzz: BlackBerry App Store Seen Next

3D in Depth: Lighting, Part 1.

By Nathan Segal.

Lighting, (in combination with textures, camera angle etc.) is where your scene has the potential to come alive. But used improperly, light can wash out your scene, make objects appear hard or flat, and destroy all you've worked for. But skillfully applied, lighting can make your scene convincing, or if realism is your aim, create (in combination with materials and geometry), a scene that is virtually indistinguishable from real life.

In 3D, lights don't actually exist as they do in the real world. Lights in 3D are objects that are designed to simulate how lighting works in real life, but in order to obtain the results you're after, you have to apply a number of settings, not only to the lights, but to the materials. To elaborate, let's say you turn on a lamp.

Looking at this screenshot, notice the intensity of the light, the color, the softness of the shadow on the wall, the haloing effect around the light source and how that affects the color of the black casing the houses the light (the halo effect changes, depending on the angle at which you view the light and if there atmospheric particles in the air).

Other factors are decay, where the light is strongest at the source and decays or decreases, the further away you move from the source. Other factors, are whether the bulb casing is clear, colored or frosted, whether the light bulb is tungsten, halogen or daylight corrected (this is a tungsten bulb which casts as yellowish-orange light) - the list goes on and on.

Even if you have lighting specifically designed for photography, you're dealing with issues of light placement, direction and shaping of the light (which you can accomplish with snoots or barn doors), falloff, etc.

In a 3D scene, being aware of lighting conditions is very important. While the aim of this article is to introduce some lighting concepts, it's not designed to be a complete course. To understand lighting in more detail, it's helpful to experiment with 3D, but if you're not familiar with lighting, I encourage you to take a studio lighting course in photography or to read up on lighting setups.

In 3D (depending on the application), if you don't add lights to a given scene, the entire scene and objects will be rendered as a black frame (as in Maya). In other programs (such as 3DS Max), there is default lighting in a scene which is replaced as soon as you start adding lights. Depending on how you add lights to the scene will determine the effect. In 3D (again depending on the program), some basic lighting components are spotlights, omni lights, directional lights and lights that mimic the effects of the sun.

Lighting Guidelines

The type of lighting you'll need to use depends on a multitude of factors, such as whether you want to simulate a natural or artificially lit scene. In the case of a natural scene, such as in daylight or a night sky, there is only one light source.

With artificial lighting, such as a downtown city street, there are multiple light sources, often in different colors and intensities. Indoor and outdoor scenes also make a big difference. The quality of lighting will interact with your materials and you might have to change the color or intensity.

Color

Color is an important element of lighting. When you first consider it, you might think of lighting as white, a natural assumption. But if you start to observe your environment, you'll find that light casts many different colors, even supposedly "white" light. To see what I mean, have a look at the lighting in your home. If you look at a tungsten light, you'll probably notice that the color it emits is yellow and with tints of orange. If you go into a department store and look up at the fluorescent lights, you'll probably see a variety of colors, such as pink, blue and green. All of this affects what you see. In addition, let's say you're looking at white clothing. Some clothing will appear whiter than other clothing. This is the result of brighteners that have been added to the fabrics to make them appear to pop, to be whiter than white.

Outside, all sorts of factors come into play such as the angle of light and the time of day, which produces a wide range of color shifts ranging anywhere from pale yellow to red or orange at sunset. Cloudy weather can tint the light into shades of blue and even gray on dull days. However, paradoxically, on overcast days where the entire sky seems to be one gray mass, the sun's rays are filtered, almost like using a soft box in a photography studio. The result? Bright colors (such as yellow) really pop and appear to be brighter than normal. At the same time, shadows are minimal and soft, unlike a brightly lit day, when shadows will have a much harder edge and will be darker.

home / 3d / column 13 / 1 current pageTo page 2
[next]



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview · Controllers: Programming Application Logic - Part 2 · How to Use JavaScript to Validate Form Data
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Choosing the Right Online Backup Provider · Mother Avaya Nurtures Her Technology Partners · Software as a Service a Winning Model for Hotspot Provider

Created: June 5, 2003
Revised: June 4, 2004

URL: http://webreference.com/3d/column13/1