Chapter 1 Virtual World Fundamentals

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

Exploring 3D in Flash

COMPUTER GENERATED ANIMATION

In this lesson we are going to create cartoon eyes and parent them to the head bone.

6Visionaut visualization technologies SIMPLE PROPOSAL 3D SCANNING

Virtual Environments. Ruth Aylett

COPYRIGHTED MATERIAL. Overview

Tutorial: A scrolling shooter

COPYRIGHTED MATERIAL OVERVIEW 1

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

Physical Presence in Virtual Worlds using PhysX

Paper on: Optical Camouflage

REPORT ON THE CURRENT STATE OF FOR DESIGN. XL: Experiments in Landscape and Urbanism

CSC 170 Introduction to Computers and Their Applications. Lecture #3 Digital Graphics and Video Basics. Bitmap Basics

Adding Content and Adjusting Layers

Annex IV - Stencyl Tutorial

Understanding OpenGL

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

Models Horizons & Vanishing Points Multiple Horizons & Vanishing Points Values & Vanishing Points Tricks

Modeling and Simulation: Linking Entertainment & Defense

- applications on same or different network node of the workstation - portability of application software - multiple displays - open architecture

TEAM JAKD WIICONTROL

Google Earth Tutorials

Allen, E., & Matthews, C. (1995). It's a Bird! It's a Plane! It's a... Stereogram! Science Scope, 18 (7),

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

Air Marshalling with the Kinect

JOURNAL OF OBJECT TECHNOLOGY

Module 2: Radial-Line Sheet-Metal 3D Modeling and 2D Pattern Development: Right Cone (Regular, Frustum, and Truncated)

Objective View The McGraw-Hill Companies, Inc. All Rights Reserved.

Guide to Basic Composition

GLOSSARY for National Core Arts: Media Arts STANDARDS

immersive visualization workflow

INTERACTIVE 3D VIRTUAL HYDRAULICS Using virtual reality environments in teaching and research of fluid power systems and components

FLEXLINK DESIGN TOOL VR GUIDE. documentation

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

Picturing Motion 2.1. Frames of Reference. 30 MHR Unit 1 Kinematics

BIMXplorer v1.3.1 installation instructions and user guide

TOUCHABLE HOLOGRAMS AND HAPTIC FEEDBACK: REAL EXPERIENCE IN A VIRTUAL WORLD

A Virtual Environments Editor for Driving Scenes

Duplicate Layer 1 by dragging it and dropping it on top of the New Layer icon in the Layer s Palette. You should now have two layers rename the top la

Topic: Compositing. Introducing Live Backgrounds (Background Image Plates)

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

Lesson Plan 1 Introduction to Google Earth for Middle and High School. A Google Earth Introduction to Remote Sensing

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

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

CREATING. Digital Animations. by Derek Breen

Attorney Docket No Date: 25 April 2008

Perspective Notes 8 th Grade Art

DESIGN A SHOOTING STYLE GAME IN FLASH 8

GlobiScope Analysis Software for the Globisens QX7 Digital Microscope. Quick Start Guide

Narrative Guidance. Tinsley A. Galyean. MIT Media Lab Cambridge, MA

WINGS3D Mini Tutorial

Video 8: 2 Point Perspective

Portfolio Assignment Sheet

EYE MOVEMENT STRATEGIES IN NAVIGATIONAL TASKS Austin Ducworth, Melissa Falzetta, Lindsay Hyma, Katie Kimble & James Michalak Group 1

ALICE TUTORIAL. Introduction to Alice 3

Notes on a method of recording and analyzing sequences of urban space and color

Event Monitoring Setup

VR-programming. Fish Tank VR. To drive enhanced virtual reality display setups like. Monitor-based systems Use i.e.

Module 2. Lecture-1. Understanding basic principles of perception including depth and its representation.

Topography and Contouring Teaching Assistant Guide

The University of Melbourne Department of Computer Science and Software Engineering Graphics and Computation

CC3 and Perspectives A Campaign Cartographer 3/3+ Tutorial. Part 1 - Basics

Drawing a Plan of a Paper Airplane. Open a Plan of a Paper Airplane

B.A. II Psychology Paper A MOVEMENT PERCEPTION. Dr. Neelam Rathee Department of Psychology G.C.G.-11, Chandigarh

INTERMEDIATE PHOTOSHOP: FAMILY PHOTOS

House Design Tutorial

CSC Stereography Course I. What is Stereoscopic Photography?... 3 A. Binocular Vision Depth perception due to stereopsis

Immersive Visualization and Collaboration with LS-PrePost-VR and LS-PrePost-Remote

Perception in Immersive Environments

2 Exploration Students explore different scientific fields, historical eras, and world landmarks in a variety of age-appropriate apps.

First English edition for Ulead COOL 360 version 1.0, February 1999.

Storyboarding CHAPTER 1

CAD Tutorial 24: Step by Step Guide

Individual Test Item Specifications

Demo. Getting Started with Alice Demo

istar Panoramas for HDS Point Clouds Hugh Anderson Illustrations, descriptions and technical specification are not binding and may change.

Polytechnical Engineering College in Virtual Reality

revolutionizing Subhead Can Be Placed Here healthcare Anders Gronstedt, Ph.D., President, Gronstedt Group September 22, 2017

November 30, Prof. Sung-Hoon Ahn ( 安成勳 )

DEEP SPACE 60-MINUTE ART SESSION. Impressionist WATERSCAPE

Pull Down Menu View Toolbar Design Toolbar

HMD based VR Service Framework. July Web3D Consortium Kwan-Hee Yoo Chungbuk National University

The Application of Virtual Reality in Art Design: A New Approach CHEN Dalei 1, a

ADDING A RAINBOW TO A PHOTOGRAPH

Chapter 11-Shooting Action

GameSalad Basics. by J. Matthew Griffis

Introduction to Alice

pcon.planner PRO Plugin VR-Viewer

VACUUM MARAUDERS V1.0

The Application of Human-Computer Interaction Idea in Computer Aided Industrial Design

OCULUS VR, LLC. Oculus User Guide Runtime Version Rev. 1

Understanding Contemporary Art

- Modifying the histogram by changing the frequency of occurrence of each gray scale value may improve the image quality and enhance the contrast.

Object Perception. 23 August PSY Object & Scene 1

Introduction to Parametric Modeling AEROPLANE. Design & Communication Graphics 1

High School PLTW Introduction to Engineering Design Curriculum

Video Games and Interfaces: Past, Present and Future Class #2: Intro to Video Game User Interfaces

PROPOSED SYSTEM FOR MID-AIR HOLOGRAPHY PROJECTION USING CONVERSION OF 2D TO 3D VISUALIZATION

04. Two Player Pong. 04.Two Player Pong

Transcription:

Chapter 1 Virtual World Fundamentals 1.0 What Is A Virtual World? {Definition} Virtual: to exist in effect, though not in actual fact. You are probably familiar with arcade games such as pinball and target games. Many versions of arcade games and simulations are two-dimensional (2-D), with flat images having no depth. Nevertheless, these simulations do allow you to steer a vehicle on a view of the road and scenery ahead. Two-dimensional graphic simulators are often used in flight training and driver education programs. The advantage of the simulator is obvious. When the fighter plane crashes under the hands of the novice pilot, neither the pilot nor the aircraft is injured. When a simulator is implemented in a threedimensional (3-D) manner, it is called a virtual world. Using a virtual world lends a sense of reality to the simulator and increases its effectiveness. To better understand the difference between a 2-D and a 3-D scene, consider the diagrams shown below, in Figure 1-0-1. The movie set scene-front on the left is a flat mock-up that has no real depth to its existence. When you walk around to the side of the mock-up, you see its true 2-D character. But, on the right is a real building. When you walk around to the side of the building, you see the continuation of its 3-D structure. Figure 1-0-1, 2-D movie set mock-up versus 3-D building So, how is this sense of reality obtained? How do we create a 3-D world on a computer's 2-D monitor screen? To answer these questions, consider what the three dimensions are. In Figure 1-0-2 below, the three dimensions are width (horizontal, leftto-right), height (vertical, top-to-bottom), and depth (front-to-back). In truth, the picture is only two-dimensional, but the artist created the illusion of depth.

Figure 1-0-2, Depth Illusion How does the artist create the illusion of depth? One way is to draw some objects larger and other objects smaller. In Figure 1-0-2, the white rabbit appears closer and the locomotive appears farther away. We know the rabbit is much smaller than a locomotive in real life. So, the size of the objects in the picture fools the human brain into interpreting the rabbit as being closer. Just as an artist can draw objects in different sizes, so can the computer. But, a computer must calculate the positions and relative sizes of the different objects. Even though these calculations appear simple, they can be highly complex, take up a lot of memory, and consume much computing power. Creating 3-D images is difficult, but not impossible. The computer just does the calculations and displays the image. But, in a flight simulator or a video game the objects must be moving. How is that done? Many of the same techniques are used to give the illusion of motion as are used by the Disney film studio in creating animated cartoons. Animation is a fantasy of vision, an illusion. To perform this illusion, the filmmaker and artist collaborate to create a sequence of artwork frames (drawings or images) where each successive frame has a slightly different view of a scene. The scene is drawn with objects, then same scene is redrawn with the objects positioned in a slightly different place. The same scene is redrawn and the objects moved just a bit more, over and over and over! For example, here is a sequence of frames (left-to-right) showing a ball-like figure in each one: Figure 1-0-3, A Sequence of Frames 2

In animation production, such frames are photographed in sequence on a reel of film. The processed reel of film is run through a movie projector at a rate (frames/second) which displays the sequence faster than the human eye can detect. Therefore, the human brain is tricked into perceiving the ball (in the above sequence of frames) as falling through the air. Instead of creating just one picture, many, many pictures are created and displayed in rapid sequence -- creating an illusion of motion. A similar effect can be created on a computer screen. One way to do this is to rapidly display successive image files on a monitor. Until recently, desktop computers have not been powerful enough to update changes to 3-D scenes quickly enough to make 3-D animation possible. But, in the early to mid-90's, desktop machines experienced phenomenal advances in memory storage and processor speeds. These hardware improvements make it possible to draw repeated 3-D scenes at animation speeds (upwards of 10 frames or more per second). Using desktop machines to generate repeated 3-D graphic images allowing the creation and control of tiny virtual worlds within color monitors. The user works with the virtual world with a keyboard and a mouse to cause the animation to start, stop, be replayed and interact with the user. The Difference Between Virtual Worlds and Virtual Realities: Not all 3-D graphics are virtual worlds. Some 3-D graphics systems are called virtual realities. In these 3-D graphics systems, the user wears a Head Mounted Display (HMD) and special glasses (3- D vision is obtained using two tiny displays -- one for each eye). Virtual reality (VR) systems are sometimes referred to as immersive 3-D graphics. While desktop virtual world systems respond to mouse and keyboard controls, the VR systems have no use for the keyboard and mouse so the user is faced with a lack of good user interface controls. Development of user interface controls for VR is a subject of current research. Hardware advances have spurred a real interest in virtual worlds and virtual reality. Unfortunately, the current state of the art with 3-D software development is still in its infancy. Mainly, this is because most development tools are still primitive and require a high degree of programming experience and mathematical understanding. Virtual reality is beyond the scope of this book and is not used in Alice. Alice is a software development tool for developing virtual worlds. The person using a virtual world created with Alice is able to interact with the 3-D images. The images can be made to move, turn, spin, react to a mouse, and more! The really great thing about Alice is that it is designed with the goal of being easy to learn to use. With a reasonable effort, you can acquire the programming skills and mathematical understandings that allow you to create your own virtual worlds. It is important to remember that Alice is still under construction. This means that new ground is being explored in developing learning materials to be used with Alice. And, it means that the Alice environment is likely to crash, perhaps frequently. Patience is a vital characteristic when using an edge-of-the-frontier technology. 3

1.1 An Alice World Setting the Scene The first part of creating a virtual world is to create the background. Every virtual world in Alice starts with the same background, a simple blue sky and a green land surface. You will be able to change this simple background by any, or all, of the following means: adding objects to the scene, changing the background sky by adding images on top of the default sky, changing the color of the sky, changing the color of the ground, and/or changing the texture of the ground. Each of these modifications will be discussed in the lab section of this chapter. Figure 1-1-1 A Default World Figure 1-1-2 A Default World with clouds 4

Figure 1-1-3 Image in Figure 1-1-2 with the camera moved back Figure 1-1-4 Image in Figure 1-1-2 with the camera tilted up 5

The appearance of the initial scene is determined by components such as: The graphic details background images may be added to scenes. Common examples are clouds in the sky or a sunset image that replaces the blue sky. Figure 1-1-1 contains the default background that starts every world in Alice. Figure 1-1-2 is the result of adding the happysky.mdl background image to the original world. The happysky.mdl image may be added to the default scene by clicking on the Add Object button, selecting the scenery folder, and then selecting the happysky.mdl image. The camera -- the perspective of the scenic view is that of the camera. By adjusting the height and tilt of the camera (as well as its position), the view can be changed. Like a camera-crew member at a televised football game, one can turn the camera to get a panoramic view of the scene, or of a particular part of the scene. Starting with the scene from Figure 1-1-2, the scene in Figure 1-1-3 is produced by moving the camera backwards. The camera is moved backwards by clicking on the Inspects button and moving the mouse backwards. Starting with the scene from Figure 1-1-2, the scene in Figure 1-1-4 is produced by clicking on the up arrow of the Tilt box. The ground -- the surface can be textured to appear solid as rock or liquid as water. Starting with the scene in Figure 1-1-2, the scene in Figure 1-1-5 is produced by removing the ground texture. Changing the texture of the ground is accomplished by right mouse button clicking the ground icon to the left of the image, and then selecting Display Style, and then Texture, and then Off. Of course, in some scenes, such as in outer space, there is no ground surface. The lighting -- the quantity of light available and the angle of lighting can be adjusted to simulate sunrise, sunset, and so on. It is important to understand that Alice is not a 3-dimensional graphics drawing program. Examples in this book use objects from the extensive gallery provided with Alice. We recommend that you use objects from this gallery, look on the web for other.mdl files or, (for the more adventuresome) use Teddy to build your own 3-D objects. You may wish to experiment with Teddy. If so, just read and follow the excellent tutorial provided with Teddy. Take a look at: http://www.mtl.t.u-tokyo.ac.jp/~takeo/teddy/teddy.htm Also, Alice is not a sound recording package. We recommend that you look on the web for sound clips. There is a good list of web sites available on the Alice web pages. Take a look at: http://www.alice.org/new/documents/links.htm 6

Figure 1-1-5 Image from Figure 1-1-2 with the Ground Texture Removed You can set up your background by adjusting the camera angles, lighting, and textures of a "bare bones" world, and possibly changing the background view or and/or colors. Once the background has been set up, the world can be populated with animated objects and sound tracks to create your own 3-D animation with sound. This will be the topic of the next few sections. One last note: In the next section, you will learn how to add objects that inhabit your world. In terms of computer representation, there is no difference between objects used to create the scene (an island, the cloudy sky, sunset, etc.) and objects that inhabit the scene (such as helicopters, white rabbits, tail-less cats). The real difference is objects that are used to create the world scene are static (non-moving) while objects that inhabit the world are dynamic (moving and changing) when the animation runs. As there is at least a conceptual difference between the static objects and the dynamic objects that become part of the animation, they are presented in separate sections. 7