9

Lens Effects Filters 345
3.
In the Object Properties dialog, set G-Buffer
Object Channel to a nonzero value, and then
click OK.
The G-Buffer ID can be any positive integer.
If you give the same G-Buffer ID value to
more than one object, al l these objects will be
post-processed.
Lens Ef fects Filter s
Rendering menu > Video Post > Video Post toolbar > Add
ImageFilterEvent>ChooseaLensEffectsFilterfromthe
Filter Plug-In list.
The Lens Effects filters add realistic camera flares,
glows, gleams, g limmers, and depth-of-field
blurring to your scenes. Lens Effects can affect a n
entire scene or can be generated around specific
objects in your scene.
Lens Effects are applied through the Video Post
interface. To learn about adding scene and image
filter events to the video post queue, see Add Scene
Event (page 3–329),andAdd Image Filter Event
(page 3–335).
LensEffectsincludesthefollowingfilters:
Lens Effects Flare (page 3–350):Createsthe
opticaleffectthatoccurswhenabrightlight
reflects across the lens of a camera.
Lens Effects Focus (page 3–362):Createsa
blur on objects based on their distance fro m
the camera. tr acks an object’s distance f rom
the c amera using a Z-Buffer. Focus uses the
Z-Buffer information from the scene to create
its blurring effects.
Lens Effects Glow (page 3–364):Createsa
glowing light around any assigned object, such
as a laser beam or the thr uster on a space ship.
Lens Effects Highlight (page 3–370):Createsa
bright cross star effect on a desig nated object.
Wa rn in g : When you animate Lens Effects parameters,
this creates pointers into the actual scene, so Lens Effects
animation is lost if you save the Vi deo Post queue in a
VPX file (page 3–1031). To preserve the animation, save
the Video Post data, including Lens Effects animation,
in the MAX file.
Procedures
Len Effects like Glow and Highlight can b e set
to affect specific objects in your scene based on
their G-Buffer ID (page 3–946) . Thisletsyou
apply g lows and hig hlights to the object, or to the
material, or both.
To set an objects G-Buffer ID:
1.
Select the object.
2. Right-click the object and then choose
Proper ties from the quad menu.
3. IntheObjectPropertiesdialog,setG-Buffer
Object Channel to a non-zero value, and then
click OK.
The G-Buffer ID c an be any positive integer.
If you give the same G-Buffer ID value to
more than one object, al l these objects will be
post-processed.
Negati ve Fil ter
Rendering menu > Video Post > Video Post toolbar > Add
ImageFilterEvent>ChooseNegativeFilterfromtheFilter
Plug-In list.
Rendering menu > Video Post > Video Post window
> Select a Negative Filter. > Video Post toolbar > Edit
Current Event > Setup
TheNegativefilterinvertsthecolorsinthe
image, making it negative lik e a negative color
photograph.