About Lights And Cameras - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Motion methods
Use this method to work with motions:
Method
map(motion, "bone name")

About lights and cameras

Lights illuminate the 3D world and the models in it. Without lights, the world exists, and actions
can take place, but users see nothing. You can add lights to your 3D world in your 3D modeling
application or with the Property inspector. For information about the Property inspector, see
Chapter 14, "3D Basics," on page
position, and manipulate their parent-child relationships using methods and properties. Those
methods and properties are detailed here. You can find the same lighting methods and properties,
with more detailed syntax and coding examples, in the Scripting Reference topics in the Director
Help Panel.
Cameras act as windows into a 3D world. Each camera that exists in a 3D cast member offers a
different view into it, and each sprite that uses a 3D cast member uses one of these cameras. A
camera's position can be moved with the Property inspector or the Shockwave 3D window. You
can also use the Director 3D behaviors or script to manipulate camera positions. For information
about the Property inspector and the Shockwave 3D window, see
on page
303. For information about behaviors, see
and 3D Behaviors," on page
properties. Accessing the properties and methods of a light or camera requires that the member be
on the Stage or explicitly and completely loaded with the
method, you can verify that the load is complete by testing whether
preLoad()
(loaded).
4
Lights and cameras have the same
groups. Lights and cameras can be added, deleted, cloned, moved, and rotated in the same ways as
models and groups. You can access their names, parents, children, and other properties in the
same way you would with models and groups. However, there are some important differences,
which arise from the specific roles that lights and cameras play in the 3D world.
382
Chapter 16: Working with Models and Model Resources
Description
Maps the given motion into the current motion beginning
at the named bone.
If no bone name is specified, the mapping begins at the
root bone.
The
map()
previously to the specified bone and all of its children.
Motion mapping has no effect on motions that are already
on a play list. The
keyframe animations.
303. You can also add and remove lights, change their color or
315. More complex manipulations require the use of methods and
methods and parent-child properties as models and
transform
method will replace any motion tracks mapped
method does not work with
map()
Chapter 14, "3D Basics,"
Chapter 15, "The 3D Cast Member, 3D Text,
method. When using the
preLoad()
member.state =

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents