Software Infrastructure Part 1. CS 422: Intelligent Avatars Lab Spring 2010

Similar documents
Pro Photo Photography Studio By Abranimations INSTRUCTION MANUAL

A Basic Guide to Second Life. Erin Jennings Second Life Name: Serinity Gaea

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

6 System architecture

Viewer 2 Quick Start Guide

i1800 Series Scanners

Salt Marsh Dynamics. Contents. How to Begin - Second Life Account Creation Guide

Getting Started with Ride Connection Learning Center

Getting to SBCC Island in Second Life

i800 Series Scanners Image Processing Guide User s Guide A-61510

DocuSign for Sugar 7 v1.0. Overview. Quick Start Guide. Published December 5, 2013

This guide provides information on installing, signing, and sending documents for signature with

Adobe Studio on Adobe Photoshop CS2 Enhance scientific and medical images. 2 Hide the original layer.

Photo Salon. Event Photography. Renee Caxton

Infrastructure as Code CS398 - ACC

Live Agent for Support Supervisors

METAVERSE WALLET USER MANUAL

Entering NACADA s Zoom Meeting / Webinar Environment (Presenters Panelists)

TABLE OF CONTENTS. Logging into the Website Homepage and Tab Navigation Setting up Users on the Website Help and Support...

Live Agent for Support Supervisors

**IT IS STRONGLY RECOMMENDED THAT YOU WATCH THE HOW-TO VIDEOS (BY PROF. SCHULTE-GRAHAME), POSTED ON THE COURSE WEBSITE, PRIOR TO ATTEMPTING THIS LAB

Live Agent for Support Supervisors

Ansible Tower Quick Setup Guide

Kodiak Corporate Administration Tool

EDUCATION GIS CONFERENCE Geoprocessing with ArcGIS Pro. Rudy Prosser GISP CTT+ Instructor, Esri

Version 9.1 SmartPTT Monitoring

Momo Software Context Aware User Interface Application USER MANUAL. Burak Kerim AKKUŞ Ender BULUT Hüseyin Can DOĞAN

Accessing e-books with your e-reader

Ansible Tower Quick Setup Guide

Add Transparent Type To An Image With Photoshop

Skybox as Info Billboard

University of California, Santa Barbara. CS189 Fall 17 Capstone. VR Telemedicine. Product Requirement Documentation

Welcome to JigsawBox!! How to Get Started Quickly...

2. Now you need to create permissions for all of your reviewers. You need to be in the Administration Tab to do so. Your screen should look like this:

uiulearn TUTORIAL INTEGRATIONS> HOW TO USE PANOPTO (STUDENT)

G E O S E R V E R I N S TA L L

DocuSign Setup Admin. DocuSign User Setup Process Overview. Setting up a new DocuSign user

ORDERING YOUR dōterra

Packaging Projects, Maps and Layers. Shilpi Jain Melanie Summers

Forest Inventory System. User manual v.1.2

Push-to-talk ios User Guide (v8.0)

How to Start Your Own Fundraising Page

How to Port your Number

Section A Operator s Manual

PLU Men s Basketball Photo Orders

Basic Recording. Start --> Programs --> Panopto --> Panopto Recorder. Logging In

ADD TRANSPARENT TYPE TO AN IMAGE

Note: Objective: Prelab: ME 5286 Robotics Labs Lab 1: Hello Cobot World Duration: 2 Weeks (1/22/2018 2/02/2018)

SAVING, LOADING AND REUSING LAYER STYLES

e!cmi - web based CATIA Metaphase Interface

Foreword Thank you for purchasing the Motion Controller!

Setup and Walk Through Guide Orion for Clubs Orion at Home

Games at FMJD website

High Point Communications Authorized dealer for USA Fleet Services

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

The purpose of this document is to help users create their own TimeSplitters Future Perfect maps. It is designed as a brief overview for beginners.

Create Or Conquer Game Development Guide

Reviewing Your Tax Return In Your Portal

Submittals Quick Reference Guide

View Advertisements. The View advertisements page has a few things you should know about it and i will break it down for you.

QUICK-START FOR UNIVERSAL VLS 4.6 LASER! FRESH 21 SEPTEMBER 2017

Running the PR2. Chapter Getting set up Out of the box Batteries and power

Missed Opportunity? 1

Once your church has set up the Church App for Seraphim, you can now download the app onto your mobile device from the the App Store or Google Play.

Get the Max out of Your Autodesk Architectural Desktop Drawings in Autodesk VIZ

For Students: Review and Renew your Accommodations Letter

FINAL REVIEW. Well done you are an MC Hacker. Welcome to Hacking Minecraft.

Distributed Systems 2nd Homework

Note: Objective: Prelab: ME 5286 Robotics Labs Lab 1: Hello World Duration: 1 Week

Oculus Rift Getting Started Guide

Submittal Exchange Design Team User Guide

Demo. Getting Started with Alice Demo

User Guide: PTT Application - Android. User Guide. PTT Application. Android. Release 8.3

make the most of our VISIT SOUTHEND .CO.UK BRAND NEW WEBSITE PROMOTE YOUR BUSINESS, OFFERS & EVENTS FOR FREE

QUICK-START FOR UNIVERSAL VLS 4.6 LASER!

Lab 4 VGA Display MINI-PACMAN

Montana Association of Registered Land Surveyors Conference 2013

User Guide. PTT Radio Application. Android. Release 8.3

Oculus Rift Getting Started Guide

Faculty Lecture Capture Guide

SmartPTT. Indoor Positioning Service

R&S RTO-K92 emmc Compliance Test Test Procedures

RosterPro by Demosphere International, Inc.

Adding work to your TaskStream Portfolio (DRF)

How to Configure ibeacons in Jamf Pro

GEOG432: Remote sensing Lab 3 Unsupervised classification

CCG Referral App - Northern Ireland

PANDION INSTANT MESSAGING

Everything you need to know

Thank you for purchasing one of our Autotracking devices, this manual will show you how

Kaltura CaptureSpace Lite Desktop Recorder: Editing, Saving, and Uploading a Recording

By Pamela Baker for The Birch Cottage

Outlook Add-In Installation Guide. Version 2015

Manager Client. User Guide V

Unity Certified Programmer

A Life-Like Agent Interface System with Second Life Avatars on the OpenSimulator Server

Online Learning Team - Page 1

Custom Mobile App Support

PaperCut Toshiba Eraser Embedded Manual

Lego Nxt in Physical Etoys

Transcription:

Software Infrastructure Part 1 CS 422: Intelligent Avatars Lab Spring 2010

Second Life (SL) A virtual world is just like a real world Take classes, go to concerts, go shopping, more Avatars can go to different places to talk, trade, and interact with each other Can trade virtual goods like land or objects SL also allows us to retrieve information and send commands programmatically Place Intelligent Avatars in this environment 2

Second Life (SL) Moving around (see SL QuickstartGuide on class website) Walk or run on the ground Fly Teleport Changing your avatar appearance Plenty of places to get free stuff in SL, search for free, free clothes, etc. Finding places Search feature in SL viewer http://slurl.com/ 3

Second Life (SL) Communicating with other avatars Local chat (heard within 20m radius) Instant message (anywhere in SL) Interacting with the environment and objects Only default action is sit But users can define custom actions on objects they create 4

Second Life (SL) All objects in SL (avatars, parcels, items) are uniquely identified by a UUID string Avatars are uniquely identified by their first+last names or their UUID The SL world is divided into pieces of land called regions (aka sims ) Each simcorresponds to a backing server Regions are further divided into smaller pieces of land called parcels that can be bought/sold 5

Second Life (SL) Currency used in SL called Linden dollars or L$ Exchange real currency for L$ and vice versa Probably won t be using L$ in the class (unless you can think of an interesting project ) Create objects in SL using builder tool and Linden Script Objects can be bought/sold, this forms the basis of the SL economy Go to secondlife.com and create an account Download the viewer and login Demo 6

IA Software Architecture Get avatar data from SL using an invisible Avatar Shadow object (Linden Scripting Language) Write data collected by shadow into a database (MySQL) using script (PHP) DB API (C#) will be provided to get information from database; may also access DB directly Control avatars using Lib OpenMetaverse(C#) This is what you will be mostly using 7

IA Architecture Diagram ai.stanford.edu Second Life Human Avatars Avatar Shadow sends information from SL and calls PHP script PHP Script PHP script writes data collected by avatar shadow to DB MySQL DB Intelligent Avatar Our API retrieves info. stored in the DB Avatar Shadow attached as invisible object Open MetaverseAPI controls IA in SL Open Metaverse API DB API IA Program Students write C# program to control avatar Student s local machine 8

Software to Install Install the following on Windows: (Mac/Linux users should either dual boot into Windows or use a virtual copy) 1. Second Life Viewer 2. Visual Studio 2008 with C# Support (comes with.net 3.5 framework) Do not use other versions of Visual Studio or.net 3. Lib Open Metaverse 4. Cygwin with OpenSSH 5. MySQL Connector/ODBC driver Note: everything can be downloaded for free, see the Software Resources page on the class website. 9

Avatar Shadow Invisible object that logs information to the DB Attaching the shadow to your avatar: 1. Go to a region that allows rezzing(building) 2. Create an object with the script (on class website) 3. Attach object to heads-up display (HUD) 4. Verify it is working by checking the DB Gotcha: different parcels in SL have different rules: No flying No rezzing(cannot create avatar shadow here) No pushing No scripts (avatar shadow will not work here) 10

Avatar Shadow Detailed Instructions (courtesy of Matt Rubin) 1. Find a region that allows you to rezobjects. (Second Life Lingo: Rezmeans to create or to make an object appear) At the top of the SL window, just to the left of the name of your current location, you may see a number of small icons. If one of these looks like a yellow cube with a red "no" symbol, you need to find a new place to work. try searching for a "sandbox" location, in which any sort of rezzingis allowed. 2. Click the "Build" button at the bottom of your screen. From the palette that appears, pick a type of primitive object to hold your script. Its appearance does not matter much, since it will only be seen by you and not by other users. select the object type from the palette and then click on the ground near your avatar to rezthe object. The flickers of light between your avatar's hand and the object show that you are editing it. 3. Name the object something that will help you identify it in your inventory. A simple choice is "Avatar Shadow." 4. Switch to the "content" tab of the build palette and click "new script." Enter the tracer script in the window that appears, then click save. A message should appear saying "Compile successful! Save complete." 5. Close the editing windows and right click on your object. Select "Take" to put it in your inventory. Open your inventory from the lower-right corner of the screen and find the Shadow in the inventory pane. Right-click the object and select "Add to HUD > Bottom." (More Lingo: Heads up display (abbreviated HUD) is a display layer that appears only on the screen of a specific avatar. Any object attached to your HUD remains fixed in your viewer, no matter how much you move around in the world, and cannot be seen by other users.) 6. The Shadow should now be properly sending data. To verify this, check the database or turn on in-world debugging. To do so, right click the object, select edit, move to the content pane, open your script, and change the constant String DEBUG fro "false" to "true". The script will now print out the data it is sending and receiving. A few seconds after each data packet is sent, a message should appear saying "HTTP Response:" If this is followed by text saying "Moment logged." your shadow is working properly. 11

Database MySQL database on ai.stanford.edu Collecting the following information when the Avatar Shadow is attached: Each IA s location every 10 seconds All local chats heard/spoken by IA Any time the IA teleports Information on parcels visited Meetings of IA with other avatars Meeting is any two avatars within local chat distance of each other 12

Database -Connecting You will have read-only access using user secondlife_ro Can access via web: http://ai.stanford.edu/secondlife/sqlbuddy/ Will also be able to connect to DB directly through code (next lecture) 13

Summary For Wednesday: Decide if you will take the class Find a project partner (teams of 2) We will also hold a partner matching session on Wednesday Create a SL account and play around Attach an avatar shadow object and verify it is working Start installing the other software (especially Mac/Linux users without a working copy of Windows) Homework assignment will be going out on Wednesday and due in a week Please fill out survey before leaving today 14