1 / 16

Introduction to Alice

Introduction to Alice. Web Design Section 8-2. Alice is named in honor of Lewis Carroll’s Alice in Wonderland . Alice. A programming tool 3-D graphics 3-D models of objects Animation

inigo
Télécharger la présentation

Introduction to Alice

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. Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland

  2. Alice • A programming tool • 3-D graphics • 3-D models of objects • Animation • Objects can be made to move around the virtual world (a simple video game or simulation implemented in 3-D) • If you want to download Alice at home you can get the latest version from the web: www.alice.org • We are using Alice 2.2 here in class…

  3. Demo: Getting started • Starting Alice • Alice is installed on the C-Drive in a folder called Alice2.3 • Make a shortcut to the program and place it on your desktop • Alice is slow to start! Give it time. • Load and run a world • Octopus (movie) • Skater (interactive)

  4. Kinds of Animations • Two kinds of animations: • Movie • Passive user watches the animation • Interactive • Active user clicks on mouse, types a key on keyboard … • Actions of user are called events

  5. Demo: A new world • Create a new world • File  New • Choose template

  6. Demo: Adding objects

  7. Techniques and Tools • Mouse is used to • approximately position objects in the scene • Camera Navigation is used to • set the camera point of view • Drop-down menu methods are used to • resize objects • more precisely position objects in the scene • Quadview is used to • position one object relative to another object • Allows you to see the object from 4 angles at the same time

  8. Objects • An "object" is • any thing that can be identified as unique from other things • How is an object unique? • has a name • has properties: • width, height, color, location • can perform actions (methods): • associated actions it can perform • tasks it can carry out

  9. Object Parts • Objects may be composed of parts

  10. 3 Dimensions, 6 Directions • A 3D object has • 3 dimensions • height, width, depth • 6 degrees of freedom (directions of movement)

  11. Center of an object • At the center of mass • Where it stands on the ground • Where it is held

  12. peter Person paul mary spike Dogs scottie fluffy Class • Objects are categorized into classes • Each object is an instance of the class. • All objects in a class have similar propertiesand generally can perform the same tasks.

  13. Galleries • Classes (3D models) are found in the galleries • Local gallery • Web gallery

  14. Demo: Saving a world • Writing and testing an animation is an intense load on the computing system – a crash can occur. • Best solution: • save your world every 5 minutes • (Or at least every 15 minutes) • also save to a backup

  15. Quick Demo • Lunar Lander…

  16. Rest of Today • Read Chapter 1 from the homework section of the Hancock Web Site • Section 1, Introduction to Alice • Section 2, Alice Concepts • Tips & Techniques 1, Special Effects • You need to read – I will not teach everything about Alice! I will teach programming techniques. • Try out Alice on your PC • Add Objects – See if you can get them to move (or parts of them to move!) • Finish your flowcharts!

More Related