1 / 10

Tips & Techniques 4 Visible and Invisible Objects

Learn about opacity and isShowing properties in Alice, and how they can be used to make objects visible or invisible. Explore practical uses of invisible objects as markers and reference points.

mvance
Télécharger la présentation

Tips & Techniques 4 Visible and Invisible Objects

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tips & Techniques 4Visible and Invisible Objects Alice

  2. Opacity • Opacity is a measure of how "see-through" an image or an object is. • The less opaque an object is, the more see-through it is. • Opacity of 100%, cannot see through the object • Opacity of 0%, object is transparent (like clear glass) • In Alice, an object with an opacity of 0% is invisible.

  3. Changing the Opacity • A change in opacity can be used to simulate real world conditions. • Example • A fish swimming away from the camera should fade away because water blurs our vision of distant objects.

  4. Demo • Ch04Lec4LilfishOpacity • Concepts illustrated in this example • As opacity is gradually decreased, the fish becomes less visible. • At an opacity of 0%, the object is still in the world (can still see it listed in the object tree) but is effectively invisible.

  5. isShowing • The isShowing property has a Boolean value, either true or false. • Setting an object's isShowing property to false makes the object invisible in the world. • Once again, the object is not removed from the world, it is simply not visible in the world.

  6. Demo • Ch04Lec4ChickenIsShowing • Concepts illustrated in this example • A billboard can be used to display a title screen for the animation. • A 2-second wait gives the user time to read the billboard. • Changing the isShowing property to false makes the title screen disappear.

  7. Two properties • isShowing and opacity are two different properties. • isShowing works like an on/off switch • opacity works like a dimmer switch • Although each can be used to make an object invisible, changing one does not automatically change the value of the other!

  8. Practical Uses of Invisible Objects • An invisible object is sometimes useful as a stationary marker that creates • a target for a move to instruction • an external reference point for object rotational motion

  9. Demos • Ch04Lec4InvisibleTarget • Invisible circle makes it possible to move the object to a landing target. • Ch04Lec4InvisibleReferencePoint • External reference point acts as a pivot for the rotational movement of each object.

  10. Assignment • Read Tips & Techniques 4, Visible and Invisible Objects

More Related