Chapter 18
464
6
Select a beveled edge type.
Beveling makes the edges of the 3D letters appear rounded or angled. Select Round for
rounded edges, and Miter for angled edges.
7
Select a bevel amount.
This determines the size of the bevel.
8
Set up the lighting.
You can select a color and position for the text’s default directional light. A directional light is a
point source of light and comes from a specific, recognizable direction. You can also select a
color for the ambient and background lights in the 3D world that the text occupies. Ambient
light is diffuse light that illuminates the entire world; background light appears to come from
behind the camera.
9
Apply a shader and a texture.
Shaders and shader properties determine the appearance of the surface of the 3D text model.
Textures are 2D images drawn on the surface of the text. Using the Property inspector, you can
assign a texture to the text’s shader. You can also control the color of the shader’s specular
highlights and its diffuse or overall color and reflectivity.
As with any model, you can apply a texture that uses a bitmap cast member. You can import a
bitmap cast member or create a new one in the Paint window. Be sure to give your bitmap cast
member a name if doesn’t already have one. To assign this bitmap as the texture, specify it in
the Property inspector: Select Member from the Shader Texture menu, and enter the name of
the member you want to use in the field to the right of the menu.
Lingo for 3D text
Director MX contains Lingo commands and properties for working with 3D text. Most 3D
Lingo commands and properties work with 3D text exactly as with any other Lingo object. For
the methods and properties that don’t work with 3D text, see the following section. For
information about new 3D text properties that have been added, see “Lingo for 3D text”. The
new properties are also described in the Lingo Dictionary.
Exceptions
The following commands and properties do not work as expected with 3D text.
Type of Lingo
Element
Member property
antiAlias
Member property
antiAliasThreshold
Member property
picture
Member property
preRender
Member property
scrollTop
Member property
useHypertextStyles
Member property
autoTab
Member property
boxType #scroll
Member command
scrollByPage
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...