Alice: A Visual Introduction to Programming. Chapter 1 Part 2

Similar documents
CS Problem Solving and Structured Programming Lab 1 - Introduction to Programming in Alice designed by Barb Lerner Due: February 9/10

Introduction to Alice. Alice is named in honor of Lewis Carroll s Alice in Wonderland

Begin at the beginning," the King said, very gravely, "and go on till you come to the end

Princess & Dragon Version 2

Introduction: Alice and I-CSI110, Programming, Worlds and Problems

Objects in Alice: Positioning and. Moving Them July 2008

Part II Coding the Animation

House Design Tutorial

ALICE TUTORIAL. Introduction to Alice 3

House Design Tutorial

Chapter 1 Virtual World Fundamentals

Demo. Getting Started with Alice Demo

Challenge 1: Tami s World

Once you have chosen the water world this is how your screen should look.

Adding Content and Adjusting Layers

House Design Tutorial

Alice and Daisies: Posi/oning and Moving Objects in Alice. By Jenna Hayes under the direc/on of Professor Susan Rodger Duke University July 2008

House Design Tutorial

Working with the BCC Cube Filter

House Design Tutorial

Motion Blur with Mental Ray

Introduction to Parametric Modeling AEROPLANE. Design & Communication Graphics 1

TECHNOTravel. For Microsoft Word & PowerPoint 2010 Student Workbook. TECHNOeBooks Project-based Computer Curriculum ebooks.

Princess & Dragon Part 2: Teaching a Dragon to Fly Methods & Proper:es

Texture Editor. Introduction

How Tall Are You? Introducing Functions

digitization station DIGITAL SCRAPBOOKING 120 West 14th Street

NMC Second Life Educator s Skills Series: How to Make a T-Shirt

Working with the BCC DVE and DVE Basic Filters

A Quick Spin on Autodesk Revit Building

The original image. Let s get started! The final result.

Overview. Scene Changes. Camera Markers in Alice 3. Open a new Alice world

SolidWorks Tutorial 1. Axis

How Tall Are You? Introducing Func6ons

COMPUTING CURRICULUM TOOLKIT

g. Click once on the left vertical line of the rectangle.

Working with the BCC Page Turn Filter

Standard Operating Procedure

SolidWorks 103: Barge Design Challenge

Collage Images. By Rob MacIlreith For Use with GIMP 2.8 Last Updated July 2013

iphoto Objective Course Outline

Creating a Historical Tour in Alice

Managing images with NewZapp

Miniature Effect With Tilt-Shift In Photoshop CS6

Revitalize Portraits with FaceFilter Studio

Introduction to Alice

Digital Photography 1

Kitchen and Bath Design Tutorial

Kitchen and Bath Design Tutorial

Working with the BCC Composite Filter

Veco User Guides. Property Photos & Images

General Physics - E&M (PHY 1308) - Lecture Notes. General Physics - E&M (PHY 1308) Lecture Notes

An Introduction to Alice

Princess & Dragon Part 3: A Knight Comes Riding In Cameras & Events

Chanalyzer Lab. Chanalyzer Lab by MetaGeek USER GUIDE page 1

The original image. As I said, we ll be looking at a few different variations on the effect. Here s the first one we ll be working towards:

University Libraries ScanPro 3000 Microfilm Scanner

Working with the BCC Displacement Map Filter

Motion Simulation - The Moving Man

DESIGN A SHOOTING STYLE GAME IN FLASH 8

Tutorial on Bunny visi/ng his animal friends - parameters, events for Alice 3

TRIAXES STEREOMETER USER GUIDE. Web site: Technical support:

Basics Pictures Media Bar

FLEXLINK DESIGN TOOL VR GUIDE. documentation

Easy Input For Gear VR Documentation. Table of Contents

Working with the BCC Jitter Filter

Photoshop Elements Hints by Steve Miller

Getting Started. Chapter. Objectives

COMPASS NAVIGATOR PRO QUICK START GUIDE

Landscaping Tutorial

2

PlanSwift 3D Viewer Plugin User Guide

Training Guide 1 Basic Construction Overview. (v1.1)

First Steps in Unity3D

Studuino Icon Programming Environment Guide

ImagesPlus Basic Interface Operation

Mr. Giansante. Alice. 3D Programming

Star Defender. Section 1

Working with the BCC Make Alpha Key Filter

ADDING A RAINBOW TO A PHOTOGRAPH

Unreal Studio Project Template

To solve a problem (perform a task) in a virtual world, we must accomplish the following:

Easy Input Helper Documentation

RPG CREATOR QUICKSTART

Digital Photo Guide. Version 8

Stitching Panoramas using the GIMP

SDC. SolidWorks Tutorial 2001Plus. A Competency Project Based Approach Utilizing 3D Solid Modeling. David C. Planchard & Marie P.

Photoshop CS2. Step by Step Instructions Using Layers. Adobe. About Layers:

iphoto Getting Started Get to know iphoto and learn how to import and organize your photos, and create a photo slideshow and book.

Working with the BCC Color Balance Filter

Photoshop: a Beginner s course. by: Charina Ong Centre for Development of Teaching and Learning National University of Singapore

Photoshop: Manipulating Photos

Creating Transparency for Glass in an Illustration with. SketchBook Designer

6 MASKS AND CHANNELS. Lesson overview

Copyright Digital Film Tools, LLC All Rights Reserved

Ryan - Using the PhotoStitch Wizard

Organizing artwork on layers

Working with the BCC Gaussian Blur Filter

Creo Revolve Tutorial

Ortelia Set Designer User Manual

Transcription:

Alice: A Visual Introduction to Programming Chapter 1 Part 2

Objects Alice uses objects o Tent o Soldier o Princess Objects perform actions Turn Move Fly Wave 1-2

The Alice System 1-3

Open SnowLove in Examples 1-4

Executing Alice Program PLAY 1-5

Controlling Runtime Speed Can increase speed of program Move slider of speed control Useful when troubleshooting to skip over parts of program that work Max of 10x normal 1-6

The Alice Environment Toolbar Scene Editor or World View Events Editor bject Tree Tile Tile Details Panel Method Editor 1-7

Review How do you control the speed of an Alice program that is being played? What part of the Alice environment displays a view of the world? What part of the Alice environment displays a list of objects in the world? What is a tile? 1-8

Objects Anything that can be identified as unique from other things How is an object unique? o Its name o Its properties o The custom methods or actions it can perform 1-9

Properties Values that specify an object s characteristics Can adjust them in the properties part of the details pane for an object Examples: Color, opacity, etc.

Object Properties Object Selected Object Selected Change Properties 1-11

Opacity How transparent an object is o Less opaque an object, more transparent Opacity of 100%, cannot see through the object Opacity of 0%, object is completely transparent Like clear glass An object with opacity of 0% is invisible A partially transparent object can be used to o Make something look far away in water o Give a ghostly appearance 1-12

Objects and Object Parts Objects are made of other subparts Snowman made of: o o o o head tophat lefteye righteye carrotnose mouth leftarm rightarm Bottom Objects named in camel Case format o o 1st letter is lower case Upper case next word s 1st letter 1-13

Methods Methods o Set of instructions to perform task o Can just be one o Default method world.my first method 1-14

Methods Each object and its subparts can be manipulated with methods o Move o Turn o Roll o Say 1-15

The World is an Object Contains all other objects Also has its own properties o Atmosphere color o Lighting o Fog 1-16

Review What are properties? What is the name of a property that o Determines an object s color? o Allows you to see through an object? What is a method? What do you call a part of an object that can moved independent of the main object? 1-17

Alice has Class(es) Objects are created from classes Blueprint that describes a particular type of object Defines a particular kind of object Animals Collection 1-18

Classes Gallery - collection of different object types (animals, beach, people, etc.). Class - each item found in the Gallery Two galleries are used o Local gallery (stored on computer) o Web gallery (maintained by creators of Alice) 1-19

Class Instance in Alice Class: Chicken Instance: An object that is created from a class Examples o o o Chicken Chicken2 Chicken3 Each instance has its own properties, methods, functions Can manipulate each one individually 1-20

Creating a New World Create a new world o o File New Choose template 1-21

Adding Objects Click on Add Object 1-22

Adding Objects: Scene Editor Click on People collection thumbnail 1-23

Add Coach Place object in scene editor by o Clicking on it Placed in default position o Or drag it You choose the place to position it 1-24 1-24

Coach Object With Bounding Box 1-25

Saving Alice World Click on File then Save World Has.a2w extension 1-26

Demo: Saving a world Writing and testing an animation is an intense load on the computing system o Crashes can occur Best solution Save your world every 15 minutes Also save to a backup system Ex: USB flash drive 1-27

Review What is a class? Are classes or objects stored in Alice galleries? What are two ways to add an object to a scene? What appears around an object when selected? Where do you find an object s properties? 1-28

3D Objects and the Camera Alice world and objects are threedimensional o Height} 2D o Width objects o Depth 3rd dimension 1-29

3D Movement Forward Motion is based perceived on OBJECT s as the object getting larger perspective our as it gets closer left is to the us. Coach s right Backward is perceived as the object getting smaller as it gets farther away from us. 1-30

The Camera When you create an Alice world a camera is automatically placed in the world Displays image of world in Scene Editor window o Called camera viewpoint 1-31

Camera Controls Drive forward, backward, turn left and right Move camera up, Tilt camera up, down down, left, right You can make camera move faster by dragging mouse pointer away from center of camera control 1-32

Different World Perspectives Sometimes it is difficult to tell where object is in relation to other objects Fish looks like it should be in water Change world perspective o Look at fish from perspective of water instead of sky Also called Camera control or point of view 1-33

Modifying Objects Use Mouse Mode Buttons 1-34

Modify Objects Move Up and Down Move Freely Turn Left and Right Tumble Copy When checked can modify subparts Resize Turn Forward and Backward 1-35

Center of an object Provides pivot or spin reference o Object spins around center At the center of mass Where it stands on the ground Where it is held

Orientation When you click on an object and rotate it you will notice arrows o Green points to up from the objects perspective o Red points to where object thinks its right is o Blue is forward to the object 1-37

Scene Editor Viewing Modes Single View o Viewing scene from World View angle Quad view o View scene from four views World View From top From right From front o Allows you to position one object in relation to another object Scroll Quad view Zoom 1-38

Relational Positioning in Quad View Notice how rabbit is positioned in relation to chicken World view From the top Zoom Scroll view From the right From the front 1-39

Using Coordinates Axes are measured in meters Point (0,0,0) is at center of the world Usually when an object is added to world by clicking on class then clicking on add instance the object is placed at (0,0,0) Can see position of an object in pointofview property X axis 1-40

Coordinate System 1-41

Homework Read chapter 1 Do tutorials o Tutorials 1-4, p. 40 o Tutorials 1-5, p. 43 Due one week after assigned 1-42

Homework Read chapter 1 Do tutorials o Tutorials 1-1, p 6 o Tutorials 1-2, p. 19 o Tutorials 1-3, p. 34 o Tutorials 1-4, p. 40 o Tutorials 1-5, p. 43 Do exercises in hand out Due one week after assigned 1-43