Headshots in Alice Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.

Slides:



Advertisements
Similar presentations
Visual Lists By Chris Brown under Prof. Susan Rodger Duke University July 2012.
Advertisements

Space Man Sam: Grammar Mistakes By Aleis Murphy Duke University, Under the direction of Professor Susan Rodger July 2010.
Alice Learning to program: Part Four Creating Sounds, Making Billboards, Fun with 3-D Text, New Events, and Rotating Objects by Ruthie Tucker and Jenna.
Texture Maps Alice Project 2008 Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008.
Princess & Dragon – Version 2 By Michael Hoyle under the direction of Professor Susan Rodger Duke University July 2012 Part 2: Using Methods.
Princess & Dragon – Version 2 By Michael Hoyle under the direction of Professor Susan Rodger Duke University July 2012 Part 3: Billboards, Events, Sounds,
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Skater World: Part One By Deborah Nelson Duke University Under the direction of Professor Susan Rodger May 29,
Coloring Randomly: Random Selection in Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008.
How Tall Are You? Introducing Functions By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 Updates made June 2014 by.
SETTING UP CAMERA VIEWS LESSON Setting camera views using objects, based on a lesson by Bella. Adventures in Alice Susan Rodger Duke University July 2013.
Skater World: Part Four By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 2009.
Lights Camera Action! Part 3: BDE Events By Deborah Nelson under the direction of Professor Susan Rodger Duke University July 2008.
Calvin and Hobbes Teach Properties and Functions Created by Daniel MacDonald under the direction of Professor Susan Rodger Duke University June 2013.
Methods Tutorial: Part One By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 9, 2008.
Princess & Dragon Part 4: Breathing Fire—Adding Effects to Alice By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
Animated Charting Using the Alice Bar Chart Template World By Elizabeth Liang under the direction of Professor Susan Rodger Duke University December 2010.
Making a Book Report in Alice by Jenna Hayes Under the direction of Professor Susan Rodger Duke University, June 2010.
Lights Camera Action! Part 2: Controlling Light in Alice By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June 2009.
by Chris Brown under Prof. Susan Rodger Duke University June 2012
Getting Started With Alice By Ruthie Tucker under the direction of Prof. Susan Rodger Duke University, July
Texture Maps Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008 Updates made June 2014 by Ellen Yuan.
Making a Boat Racing Game in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2010.
Skater World: Part Two By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June
Changing Camera Views! Part 2: Simple Scene Change & Lighting Fixes By Bella Onwumbiko under the direction of Professor Susan Rodger Duke University July.
3–D Helium Molecule Tutorial Alice Project Duke University Professor Susan H. Rodger Gaetjens Lezin June 2008.
Introduction to Arrays. definitions and things to consider… This presentation is designed to give a simple demonstration of array and object visualizations.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Changing Color, Using Text Objects, and Random Selection in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July 2008.
Teaching a character to walk in more than one world: Parameters and Inheritance. By Lana Dyck under the direction of Professor Susan Rodger Duke University.
Methods Tutorial: Part Two By Deborah Nelson Duke University Professor Susan Rodger June 16, 2008.
By Deborah Nelson Duke University Professor Susan Rodger July 13, 2008.
Animating Objects in Groups: Using Arrays and Lists By Ruthie Tucker under the direction of Professor Susan Rodger Summer 2008.
Lesson 9B Adding sound and Billboards. What is a function? Give an example. How do you create a method? Give an example. What is an event? Give examples.
Lists Tutorial By Deborah Nelson Duke University Professor Susan Rodger July 13, 2008.
An Introduction to Alice (Short Version) – Extras! Yossra Hamid Under the Supervision of Professor Susan Rodger Duke University, June 2014 This is a continuation.
Piñata Game: Keeping Score in Alice By Maggie Bashford Professor Susan Rodger Duke University July
Skater World: Part Two By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 1,
Bunny Eat Broccoli Repetition – Simple loops and Conditional loops Susan Rodger Duke University July 2011.
Making Billboards By Deborah Nelson Duke University, Under the direction of Professor Susan Rodger, July 14, 2008.
Creating a Historical Tour in Alice By Jenna Hayes May 2010.
Balancing the scales: Inequalities By Melissa Dalis Professor Susan Rodger Duke University June 2011.
The Essentials of Alice Mrs. Jayne Slease SBMS CTE Computer Science and Animation Credit to Duke Students under the direction of Professor Susan Rodger.
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko under the direction of Professor Susan Rodger Duke University July 2013 Updates.
Learning to Program: Part 1 Scene Setup and Starting Animation by Ruthie Tucker and Jenna Hayes Under the direction of Professor Susan Rodger Duke University,
Skater World: Part Four By Deborah Nelson Duke University Under the direction of Professor Susan Rodger June 1, 2009.
An Introduction to Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University, June 2009 Updated June 2014 by Ellen Yuan.
Illuminating Computer Science CCIT 4-6Sep
Using Placeholders to Simplify your Methods: Learning Methods, Part 2 By Deborah Nelson Duke University Professor Susan Rodger June 16, 2008.
Princess & Dragon Part 3: A Knight Comes Riding In—Cameras & Events By Elizabeth Liang under the direction of Professor Susan Rodger Duke University June.
How Tall Are You? Introducing Functions for Alice 3 By Jenna Hayes under the direction of Professor Susan Rodger Duke University July 2008 Updates made.
The Essentials of Alice By Jenna Hayes under the direction of Professor Susan Rodger Duke University May 2009.
Making Billboards By Deborah Nelson Duke University, Under the direction of Professor Susan Rodger, July 14, 2008.
Teaching Characters to Walk: Learning Methods, Part 1
Professor Susan Rodger
Changing Camera Views! Part 1: Set Point of View to By Bella Onwumbiko
Changing Color, Using Text Objects, and Random Selection in Alice
Making Objects Move in Unison: Using Lists
Making Objects Move in Unison: Using Lists
Under the direction of Susan Rodger
Making Objects Move in Unison: Using Lists
Princess & Dragon Part 3: A Knight Comes Riding In—Cameras & Events
Getting Started With Alice
Learning to Program: Part 3 Camera Control, Invisibility and 3-D Text
Professor Susan Rodger
Headshots in Alice Duke University Professor Susan H. Rodger
Using Placeholders to Simplify your Methods: Learning Methods, Part 2
Professor Susan Rodger
Making Objects Move in Unison: Using Lists
Presentation transcript:

Headshots in Alice Duke University Professor Susan H. Rodger Gaetjens Lezin July 2008

To create objects with your face in Alice we’ll make the heads invisible and then drop in a billboard. Open a new Alice world. Click on Add Objects. Choose Local Gallery, and click people. Add three people into your world. Once you are done adding three people to your world click done. My world has a blueBallerina, Boy, and Bob. Introduction and Setup

To make an object’s head invisible click on it on the object tree. Click next to the plus sign and navigate to the tab that says head. It may be in different places for different objects. Black boxes indicate where there used to be a plus sign. When I clicked on it, a lower directory of sub-parts were revealed. This happens for many objects in Alice. Make sure this line reads head’s details. If it doesn’t, you have not chosen an object’s head. Not all Alice objects have a head subpart. Making Heads Invisible

Change the isShowing property to false. To do this, click on the word true and choose false. Change the isShowing property of all your objects’ heads to false. Making Heads Invisible

Once you have made all the heads of your objects invisible it is time to add billboards to replace the heads. First you must have headshots of people who you may want to use. I used paint to cut off head shots of myself and co-workers. Save the head shots in a folder so you can find them later. You can use paint to save a head shot. Adding Billboards

From the Alice window click File, and then scroll down to Make Billboard. Locate the directory where you saved head shots. Once you’ve found it, click Import to bring each head shot into your world. Adding Billboards

Click on the object to position the head shot you just imported. Use the Move Objects Freely button on the Add Objects screen to position the head shot behind the person, the Move Objects Up and Down button to move it up, and the Resize Objects tool to get the head shot to be the right size. Positioning Headshots

With the head shot in place, we want to set its vehicle property to the object’s head of the object it is positioned on. To do this, click on the picture in your object tree. Click next to vehicle on the properties tab and choose the head of the object that the billboard is sitting in front of. Note: headShot1 is on bob so head shot1’s vehicle property should be set to bob’s head. Vehicle Property

The second headshot will go on my boy object. After making a second head shot import the picture into Alice as a billboard. Position it and set its vehicle property. Review the previous slides if you don’t remember how to do this. Second Headshot

Use the same technique shown in the earlier portion of this tutorial to drop in the third headshot. Don’t forget to set the head shot’s vehicle property. If you don’t do this when you move your person the head shot will not move with it. This may be an undesired effect. Third Headshot

Lets add some code to move the ballerina, turn the heads of the other characters, and pan around the characters with the camera. You will see how the billboards act as the characters’ heads. First click on blueBallerina, then click methods in the details panel. Drag the method move into the method editor, Select move, then up, then 1 meter. Code Example

Now Right click on the left most tip of the new line you just created and choose make copy. Code Example Change the direction on the second line from up to down. Drag a Do in order into the method editor and drop it under the two lines you created. Now drop each of the two lines into the Do in order statement.

Add another Do in order into the method editor. Click on a second person in your object window. Click methods in the details panel, then drag turn into the Do in order. Choose left, then choose ¼ revolution. Make a copy of this line by right clicking it then clicking make copy. Change the right in the newly created line to left. Code Example

Click on a billboard in the object tree. The billboard you click should not be on the person who is performing an action already. Drag that billboard and drop it on top of bob or which ever character you chose. Note: The object clicked in the object tree is highlighted in the world (Mac users don’t see this). Code Example

Make a copy of the second Do in order statement. To do this right click on the left most tip of the Do in order, and then choose make copy. Click on the billboard that is on a character who is not being animated in your code already. Drag it and drop it to replace the head shot in the Do in order you just copied. Code Example

Change left and right in the third Do in order to forward and backward. Drag a Do together into the method editor. Code Example Now drag all of your Do in order statements into that Do together.

Lastly, we will make the camera pan around the three characters so we can see the back of their heads. Click on camera in the object tree. Click on methods in the details panel. Drag the statement turn into the method editor and drop it outside of the Do together. Select right, then choose 1 revolution. Camera Pan

Click next to more on the camera line. Choose duration, then select other. Type 5, then click Okay. Camera Pan

Click more again, and then select asSeenBy. Then choose the middle character on your screen. For us, this is boy. Click Play to see this program. Camera Pan

A Note about Billboards: When the camera is behind the characters, the billboards are a mirror image. Each billboard has its own set of built in methods. Billboards are fundamentally the same as any other Alice object. THE END STOP Hope you enjoyed this tutorial :-D Finishing Thoughts