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

3D and 2D views<br />

A 3D camera displays all the models visible in its field of view. It can also display 2D overlays and backdrops. Overlays<br />

appear in front of the visible models, backdrops appear behind all the models. For more details see “Overlays and<br />

backdrops” on page 112.<br />

Refreshing the camera view<br />

Every camera has a colorBuffer property. This determines what color to show in areas that are not filled with models,<br />

overlays or backdrops. You can set this background color for all cameras in the 3D cast member through the<br />

Background color chip in the Property Inspector at the 3D Model tab.<br />

When a camera refreshes its view of the world, the render process follows this order:<br />

Fill view with background color<br />

Show backdrops<br />

Render visible models<br />

Show overlays<br />

To clear or not to clear at render<br />

You can tell a camera not to clear the previous view with the background color. When the 3D sprite next refreshes its<br />

view, it will render the models in their new position on top of the existing view. This can be exploited in different ways:<br />

to create trails (if you use one camera), or to create a skybox effect (if you use multiple cameras).<br />

To see an example of trails, download the movie Interpol.dir and launch it.<br />

Setting a camera's colorBuffer.clearAtRender property to FALSE can create trails.<br />

To see an example of a skybox, download the movie Skybox.dir, , and launch it. You can use the mouse and arrow keys,<br />

and keys I, O, W and S to move the camera.<br />

Last updated 8/26/2011<br />

45

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

Saved successfully!

Ooh no, something went wrong!