Alice 3 Using the Alice 3 1 Interactive

  • Slides: 22
Download presentation
Alice 3 Using the Alice 3. 1 Interactive Development Environment (IDE)

Alice 3 Using the Alice 3. 1 Interactive Development Environment (IDE)

Starting Alice 3. 1 Ø Click the Alice 3. 1 icon on your desktop.

Starting Alice 3. 1 Ø Click the Alice 3. 1 icon on your desktop.

When Alice 3 starts, Select a template for a scene

When Alice 3 starts, Select a template for a scene

Scene view Code editor Methods panel Control tiles

Scene view Code editor Methods panel Control tiles

To toggle between Code Editor ↔ Scene Editor

To toggle between Code Editor ↔ Scene Editor

Galleries Pre-built 3 D Models Single-click – similar to clicking a link on a

Galleries Pre-built 3 D Models Single-click – similar to clicking a link on a webpage

Gallery organization ØA gallery contains class folders for different types of 3 D models

Gallery organization ØA gallery contains class folders for different types of 3 D models ØEach folder contains classes of that type

Setting up a scene Ø Demo

Setting up a scene Ø Demo

Common operations Ø Operations used to set up a scene § Create new objects

Common operations Ø Operations used to set up a scene § Create new objects § Position objects relative to other objects & the camera § Move the camera § Mark camera positions Ø Recommendation: § Mark the original position of the camera

Create a camera marker Ø Name the marker Original camera Point Of View (POV)

Create a camera marker Ø Name the marker Original camera Point Of View (POV)

Camera Navigation Controls Turn Camera Left/Right Move Camera Up/Down/Left/Right Move Camera Forward/Back Turn Camera

Camera Navigation Controls Turn Camera Left/Right Move Camera Up/Down/Left/Right Move Camera Forward/Back Turn Camera Forward/Backward

To return to original position Ø Click (in this order): 1) camera. Marker_Red 2)

To return to original position Ø Click (in this order): 1) camera. Marker_Red 2) Set POV button

Create New Instance (Object) Click on thumbnail sketch for the class In dialog box,

Create New Instance (Object) Click on thumbnail sketch for the class In dialog box, enter a name for the new instance (object) all one word use lowercase or camel. Case

Object Tree Ø When an instance of any gallery class is created, Alice automatically

Object Tree Ø When an instance of any gallery class is created, Alice automatically adds the name of the object to the Object Tree in the Scene Editor.

Mouse and Keyboard controls Use mouse to drag object left ↔ right or forward

Mouse and Keyboard controls Use mouse to drag object left ↔ right or forward ↔ backward Hold shift key and drag for up ↔down Hold ctrl key (option key, Mac) for rotation

Handles Ø Mouse handles can be selected to modify the action of the mouse

Handles Ø Mouse handles can be selected to modify the action of the mouse for positioning and resizing objects.

Handle: One Ring ØA single ring (torus) can be used to spin the object

Handle: One Ring ØA single ring (torus) can be used to spin the object around.

Handles: Three Rings Ø Rotation (turn & roll) Copyright 2010 Wanda Dann, Don Slater,

Handles: Three Rings Ø Rotation (turn & roll) Copyright 2010 Wanda Dann, Don Slater, Steve Cooper

Handles: Three arrows Ø Movement backward) (up-down, left-right, forward-

Handles: Three arrows Ø Movement backward) (up-down, left-right, forward-

Handles: Resize Ø One arrow for resizing in all directions, proportionately.

Handles: Resize Ø One arrow for resizing in all directions, proportionately.

Relative Positioning Ø Use camera views to one object relative to another object.

Relative Positioning Ø Use camera views to one object relative to another object.

To save a project Ø For first save, in menu bar, use File/Save As

To save a project Ø For first save, in menu bar, use File/Save As § Default location: My. Projects folder • Can navigate to another save location • In GHC lab cluster, do not just save to desktop. When you log out, the file will be erased. § File will automatically have a filename extension. a 3 p (Alice 3 Project)