07.12.2012 Views

Adobe Director Basics

Adobe Director Basics

Adobe Director Basics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ADOBE DIRECTOR BASICS<br />

3D: Controlling appearance<br />

The neighbor for face 7 opposite vertex 13 is face 8<br />

The output is in the form of a list of lists. A face may have 0, 1, or many neighbor faces on a given edge. In this case<br />

there is only one face, so only one sub-list. The 4 integers in the sublist indicate:<br />

The meshID<br />

The faceID<br />

The position index of the vertex on the far side of the neighbor face<br />

A Boolean to indicate if the normal of the neighbor face is flipped<br />

In this case, the output tells you that the neighbor is the face indicated in this expression:<br />

put member("3D").model(1).meshDeform.mesh[1].face[8]<br />

-- [14, 12, 11]<br />

Note that vertex 12, opposite to vertex 13 is in the 2nd position in the face definition list.<br />

Manipulating the model resource using the meshDeform modifier<br />

The easiest way to understand how all this data is organized is with an example. Launch the movie MeshDeform.dir,<br />

and click at the top of the closest face, as shown in the screenshot below.<br />

Last updated 8/26/2011<br />

191

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

Saved successfully!

Ooh no, something went wrong!