07.12.2012 Views

Adobe Director Basics

Adobe Director Basics

Adobe Director Basics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ADOBE DIRECTOR BASICS<br />

3D basics<br />

The Physics.dir movie simulates rolling a gaming dice<br />

The Physics.dir movie demonstrates many of the features discussed earlier in this section, including:<br />

Defining a 3D shape<br />

Placing nodes in virtual space<br />

Using a shader to change the appearance of a model<br />

Using a texture to place an image on the surface of a model<br />

Lights<br />

Camera<br />

Overlays and backdrops<br />

Using raycasting to detect which model is at a particular location<br />

Using a modifier (MeshDeform)<br />

If you can understand the principles that are used in this movie, you are ready to start exploring 3D scripting. You are<br />

ready to create interactive virtual worlds of your own.<br />

Review<br />

Inside a 3D sprite, you see colored pixels. The color of these pixels is calculated to give you the illusion that a 3D world<br />

of solid objects exists. The solid objects, or models, are defined as a collection of triangular faces. The geometry for these<br />

faces is stored in a model resource. Multiple models can be created from one model resource.<br />

Models can be positioned, rotated and scaled in 3D space. A set of complex lighting algorithms determines the color<br />

and shading for each individual face of each model. These algorithms take into account:<br />

The geometry of the model resource<br />

The position and orientation of the model in space<br />

The shaders, textures and appearance modifiers that have been applied to the model<br />

The orientation, position and distance of each light source<br />

The placement of the camera<br />

Models can be grouped together in parent-child relations. They can be animated by both keyframe and bones motions.<br />

To make models appear to be solid objects in a world that obeys the laws of physics, you can apply a variety of physical<br />

characteristics to the models.<br />

Last updated 8/26/2011<br />

56

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!