16
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland

Introduction to Alice

  • Upload
    inigo

  • View
    76

  • Download
    0

Embed Size (px)

DESCRIPTION

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 - PowerPoint PPT Presentation

Citation preview

Page 1: Introduction to Alice

Introduction to Alice

Web DesignSection 8-2

Alice is named in honor of Lewis Carroll’s Alice in Wonderland

Page 2: Introduction to Alice

AliceA 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.orgWe are using Alice 2.2 here in class…

Page 3: Introduction to Alice

Demo: Getting startedStarting Alice

Alice is installed on the C-Drive in a folder called Alice2.3Make a shortcut to the program and place it on your desktopAlice is slow to start! Give it time.

Load and run a world Octopus (movie) Skater (interactive)

Page 4: Introduction to Alice

Kinds of Animations

Two kinds of animations:Movie

Passive user watches the animationInteractive

Active user clicks on mouse, types a key on keyboard …Actions of user are called events

Page 5: Introduction to Alice

Demo: A new world

Create a new world File New Choose template

Page 6: Introduction to Alice

Demo: Adding objects

Page 7: Introduction to Alice

Techniques and ToolsMouse is used to

approximately position objects in the sceneCamera Navigation is used to

set the camera point of viewDrop-down menu methods are used to

resize objectsmore precisely position objects in the scene

Quadview is used toposition one object relative to another objectAllows you to see the object from 4 angles at the same time

Page 8: Introduction to Alice

ObjectsAn "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 performtasks it can carry out

Page 9: Introduction to Alice

Object PartsObjects may be composed of parts

Page 10: Introduction to Alice

3 Dimensions, 6 DirectionsA 3D object has

3 dimensionsheight, width, depth

6 degrees of freedom (directions of movement)

Page 11: Introduction to Alice

Center of an objectAt the center of mass

Where it stands on the ground

Where it is held

Page 12: Introduction to Alice

ClassObjects 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

Page 13: Introduction to Alice

Galleries

Classes (3D models) are found in the galleries Local galleryWeb gallery

Page 14: Introduction to Alice

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

Page 15: Introduction to Alice

Quick Demo

Lunar Lander…

Page 16: Introduction to Alice

Rest of TodayRead 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 PCAdd Objects – See if you can get them to move (or parts of them to move!)

Finish your flowcharts!