Optical light effects
In the real world, when light shines directly into an observer's eye or into a camera's lens, the light source may appear to glow. If the light passes through a mesh (for example, a star filter on a camera) or through hair or eyelashes, the light will refract, producing a star-like glow. In some cases, the light may reflect off the surfaces of a camera's compound lens and produce a lens flare. These are all examples of optical light effects.
In Maya, when light shines directly into the camera, the light source does not, by default, glow or produce a lens flare. You can, however, add an optical effect to any light, and control which lights will produce a glow or lens flare.
There are three basic types of optical light effects: glows, halos, and lens flares. By setting the properties of each basic optical light effect, you can simulate many different types of real-world effects.
GlowA glow is a bright, fuzzy disk at the location of a light source. See "Properties of glows" on page 78. | |
HaloA halo is a bright ring that surrounds a light source. See "Properties of halos" on page 82. | |
Lens flareA lens flare consists of several bright disks of various sizes that extend from the light source in one direction. See "Properties of lens flares" on page 85. |
This section contains the following topics:
- "Creating optical light effects" on page 77
- "Properties of glows" on page 78
- "Properties of halos" on page 82
- "Properties of lens flares" on page 85
- "Optical light effect icons" on page 87
- "Removing optical light effects" on page 88.
Creating optical light effects |
You create an optical light effect by adding it to an existing light (see "Creating lights" on page 44). A light that produces an optical light effect can produce any combination of glow, halo, and lens flare.
In order to see an optical light effect, the light source must shine into the camera (see "Location, direction, and light/surface links" on page 47). |
When you render a scene that contains optical light effects, the optical light effects will appear in the rendered image after all other elements in your scene have rendered. |
To add an optical light effect to a light:
- 1
- Select the light you want to produce an optical light effect.
- 2
- In the Light Effects section of the light's Attribute Editor, click the map button beside the Light Glow attribute.
- Maya automatically creates an optical FX node, connects it to the light node, and displays its Attribute Editor.
Properties of glows |
In the real world, glows have many properties that define how they look.
In Maya, you change the properties of a glow by setting the attributes of its optical FX node.
The properties of glows can be grouped into five basic categories.
Color, brightness, size, and opacityAll glows have a specific color, brightness, size, and opacity. See "Color, brightness, size, and opacity" on page 79. | |
LocationA glow appears at the location of the light source. See "Location" on page 80. | |
Brightness decayA glow's brightness is strongest at the light source and decreases or decays further away from the light source. (In some cases, the color of the glow may also change.) See "Brightness decay" on page 80. | |
Glow beamsA glow can consist of regularly spaced or randomly spaced beams or rays of light. These beams simulate refractions caused by a camera's star filter or by eyelashes. See "Glow beams" on page 81. | |
RandomnessA glow can either be perfectly round or blobby and uneven. See "Randomness" on page 81. |
Color, brightness, size, and opacity
Location
Glow locationTo change the location of a glow, move the light source. See "Positioning lights" on page 53. |
Brightness decay
Glow beams
Randomness
Properties of halos |
In the real world, halos have many properties that define how they look.
In Maya, you change the properties of a halo by setting the attributes of its optical FX node.
The properties of halos can be grouped into three basic categories.
Color, brightness, and sizeAll halos have a specific color, brightness, and size. See "Color, brightness, and size" on page 83. | |
LocationA halo appears at the location of the light source. See "Location" on page 84. | |
Brightness decayA halo's brightness is strongest at the light source and decreases or decays further away from the light source. (In some cases, the color of the halo may also change.) See "Brightness Decay" on page 84. |
Color, brightness, and size
Location
Halo locationTo change the location of a halo, move the light source. See "Positioning lights" on page 53. |
Brightness Decay
Properties of lens flares |
In the real world, lens flares have many properties that define how they look.
In Maya, you change the properties of a lens flare by setting the attributes of its optical FX node.
The properties of lens flares can be grouped into four basic categories.
Color and brightnessAll lens flares have a specific color (or range of colors) and brightness. See "Color and brightness" on page 86. | |
LocationA lens flare appears at the location of the light source. See "Location" on page 86. | |
Shape, size, sharpness, and number of elementsYou can control the shape, size, sharpness, and number of elements (usually circles or hexagons) in a lens flare. See "Shape, size, sharpness, and number" on page 86. | |
Spread length and spread directionYou can control the spread of a lens flare relative to the light source. See "Spread length and spread direction" on page 87. |
Color and brightness
Location
Lens flare locationTo change the location of a lens flare, move the light source. See "Positioning lights" on page 53. |
Shape, size, sharpness, and number
Spread length and spread direction
Optical light effect icons |
When you create an optical light effect in Maya, an optical FX icon appears in camera views around the light's icon (see "Light icons" on page 50). This icon represents the position and size of the optical light effect.
Removing optical light effects |
You can temporarily turn off or permanently remove an optical light effect from a light.
To temporarily turn an optical light effect off or on:
- In the optical FX's Attribute Editor, set the Active attribute off or on.
- When Active is off, a yellow X appears in the Post Process Sample at the top of the Attribute Editor to indicate that the optical light effect will not render.
To permanently remove an optical light effect:
- 1
- Select the optical FX node.
- 2
- Press Delete.
-----------------------------------------------------------------------------------------------
Nguồn: http://caad.arch.ethz.ch/info/maya/manual/UserGuide/Rendering/RenderingTask/Look_Lights.fm3.html