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 basics<br />

Rect<br />

By default, a 3D sprite is 320 x 240 pixels. Like other sprites, you can change the rect of the sprite by dragging the<br />

corners and edges. The bigger you make the sprite, the more computer processing power it will need to update the<br />

image. <strong>Director</strong> needs to calculate the color of every pixel in the sprite image every time the image is refreshed. More<br />

pixels mean more calculations. If you are designing a project for relatively slow computers, test whether the size of your<br />

3D sprite is appropriate for the target computers.<br />

DirectToStage<br />

By default, the cast member of a 3D sprite is drawn "Direct To Stage" (DTS). This means that <strong>Director</strong> sends the image<br />

for the 3D sprite directly to the screen display driver controlled by your computer's operating system. This is very<br />

much faster than sending the image to <strong>Director</strong>'s display system, where each sprite needs to be layered on top of other<br />

sprites. The disadvantage is that a 3D sprite will appear on top of all other sprites. Sprite inks will not work on a 3D<br />

sprite set to display direct to stage.<br />

Suppose you want to show sprites on top of a 3D sprite. Suppose you want your 3D sprite to have a transparent<br />

background, so that you can see the sprites that are behind it. You can switch off the DTS display. The disadvantage is<br />

that your movie will run more slowly, since <strong>Director</strong> now has to do more work with inks and layers.<br />

To learn more about setting the Direct To Stage property of a Shockwave3D cast member at “Using the Property<br />

Inspector for 3D” on page 14. For more information on this property, see member3D.directToStage.<br />

Effect of DirectToStage on frame tempo<br />

The effect of switching off Direct To Stage display depends on the operating system. In Windows, the movie may run<br />

at around 85 % of its maximum possible DTS speed.<br />

In Mac OS 10.6 and later, <strong>Director</strong> 11.5 movies may be capped at 60 frames per second. Changes made in Mac OS 10.6<br />

and <strong>Director</strong> 11.5 now limit the number of screen update requests. The screen will no longer be updated faster than<br />

the monitor can be refreshed.<br />

When a Shockwave3D cast member is set to display Direct To Stage, and where there is no other animation, <strong>Director</strong><br />

can ignore the monitor refresh rate. The movie can report a much faster frame tempo. Nonetheless, the end user will<br />

only see screen updates at the rate at which the monitor is refreshed.<br />

If you set the movie's frame tempo to 60 frames per second or less, you can avoid unexpected playback results on all<br />

supported platforms.<br />

Frames and Backgrounds<br />

A DTS sprite will be rectangular and opaque. You will not be able to see any sprites behind it.<br />

You may want to give the impression that a DTS 3D sprite is an irregular shape (not a rectangle). You can use overlays<br />

to create a border that continues the design for the background for the rest of your movie.<br />

You may want to give the impression that the 3D models are floating above the background on the Stage. You can use<br />

a backdrop which fits seamlessly into the Stage background.<br />

See “Overlays and backdrops” on page 47 for more details of both these features.<br />

Last updated 8/26/2011<br />

7

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

Saved successfully!

Ooh no, something went wrong!