Alice Concepts
Overview Follow-up on Appendix A – Getting Started Classes and Objects in Alice objects have parts
Kinds of Animations In Appendix A–Getting Started Part 1, you viewed two kinds of animations Movie user just watches the animation on screen "machine-centric" Interactive user clicks on mouse, types a key on keyboard … "user-centric"
Events Animations that are interactive depend on the user's actions mouse click key press others (HeadMountedDevice, etc.) Actions are events Interactive programs are event-driven
Interactivity in Alice Another interactive program in Alice Chap1-InteractiveDemo What are the events? What response does the skater make to each event?
Objects What is an object ? How is an object identified as unique? anything that can be identified as unique from other things How is an object identified as unique? has a name has properties: width, height, color, location, age, ss#, id# has a purpose: associated actions it can perform tasks it can carry out
Class Objects are categorized into classes Each object is an instance of the class. All objects in a class have similar properties and generally can perform the same tasks. Person Dogs Peter Mary Paul Spike Scottie Fluffy
Objects in a Virtual World In Alice, each 3D model is a class of objects each object of the class has a unique name mummy, mummy1, mummy2 has color(s) pink, white, grey, black, blue, ….
Object Parts Objects may be composed of Parts
Center At the center of mass Where it stands on the ground Where it is held
Assignment Complete Appendix A – Getting Started, Part 2 Your assignment is to read Chapter 1-2, Alice Concepts Tips & Techniques 1, Special Effects
Lab Notes: Lab exercises and projects require that you demonstrate the code and execution of your programs to the instructor or the TA Your lab sheet must have the signature of the instructor or TA for each assigned exercise and/or project. Otherwise, you will not get credit for having completed the lab!