virtual reality (vr) introduction and basic applications

33
VIRTUAL REALITY (VR) VIRTUAL REALITY (VR) INTRODUCTION AND BASIC INTRODUCTION AND BASIC APPLICATIONS APPLICATIONS ات ق ي ب ط ت و دمة ق م: ي ض را ت فلا ع ا قا و ل اDr. Naji Shukri Alzaza Dr. Naji Shukri Alzaza Assist. Prof. of Mobile technology Dean of Community Service and Continuing Education University of Palestine, Alzahra City, Gaza, Palestine [email protected], www.najishukri.wordpress.com

Upload: aileen-rodriguez

Post on 02-Jan-2016

16 views

Category:

Documents


0 download

DESCRIPTION

Virtual Reality (VR) Introduction and Basic Applications. Dr. Naji Shukri Alzaza Assist. Prof. of Mobile technology Dean of Community Service and Continuing Education University of Palestine, Alzahra City, Gaza, Palestine [email protected], www.najishukri.wordpress.com. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Virtual Reality (VR)  Introduction and Basic Applications

VIRTUAL REALITY (VR) VIRTUAL REALITY (VR) INTRODUCTION AND BASIC INTRODUCTION AND BASIC APPLICATIONSAPPLICATIONS

: وتطبيقات مقدمة االفتراضي الواقع

Dr. Naji Shukri AlzazaDr. Naji Shukri AlzazaAssist. Prof. of Mobile technologyDean of Community Service and Continuing EducationUniversity of Palestine, Alzahra City, Gaza, [email protected], www.najishukri.wordpress.com

Page 2: Virtual Reality (VR)  Introduction and Basic Applications

VIRTUAL VIRTUAL ENVIRONMENENVIRONMENTT66

Page 3: Virtual Reality (VR)  Introduction and Basic Applications

OBJECTIVES

Dr. Naji Shukri Alzaza

3

Students should be able to: 1. Understand the concept of virtual

environment.2. List and describe all the components

of a virtual environment which include:i. Virtual Objectsii. Virtual Lightsiii. Animationiv. Physical Simulationv. Level of detail vi. Collision Detection

Page 4: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Environment (VE)

Dr. Naji Shukri Alzaza

4

VE is a computer generated world with which the user can interact and interaction can vary from looking around to interactively modifying the world.

It is a high-end user-computer interface that involve real time simulation and interaction through multiple sensory channels which include visual, auditory, tactile, smell and taste.

VE simulates real or imaginary system that enables a user to perform operations on the simulated system and shows the effects in real time.

VE can take many forms, such as realistic representation of physical environment such as interior of building, kitchen, cars and etc.

Page 5: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Environment (VE)

Dr. Naji Shukri Alzaza

5

VE might not have any physical basis at all, example: a 3D database of geographical, hierarchical network of a company as well as multi-dimensional data set for stock transaction.

VE can be used to evaluate physical simulation such as simulating molecules within electric fields, dynamic behaviors of atomic particles and accidents scenes.

In the most successful virtual environments, users feel that they are truly present in the simulated world and that their experience in the virtual world matches what they would experience in the environment being simulated.

This sensation is referred to as engagement, immersion, or presence.

Page 6: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Environment (VE)

Dr. Naji Shukri Alzaza

6

VE consists of a collection of virtual objects and light sources which are manipulated by animation and physical simulation sources.

Collision detection algorithms are also incorporated into the VE to monitor collisions between specified objects.

Page 7: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Environment (VE)7

The Inputs, Processes And Outputs In A Generic VR System (Vince, J. (1995). Virtual reality systems: ACM Press/Addison-Wesley Publishing Co. New York, NY, USA.)

VE

Page 8: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Objects

Dr. Naji Shukri Alzaza

8

To represent a participant or physical object in a VE; the typically visual representation may take any form.

Virtual objects are objects that are used to build Virtual environments.

Virtual objects posses 3D geometries, color and texture, dynamic characteristics, physical constraints and acoustic properties.

Virtual objects can be categorized as static and dynamic objects.

In a virtual architectural environment, example of static objects are floors, walls, ceilings, stairs etc., for dynamic objects are doors, windows, drawers etc.

Page 9: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Objects

Dr. Naji Shukri Alzaza

9

Some dynamic objects may be defined without any constraints upon their spatial behavior while others may be physically constrained to move within prescribed limits, example: drawers and doors.

Virtual objects can be constrained to limit their translational and rotational properties.

3D graphics is a computer-intensive application and when it is conducted in real-time (VR), it imposes severe constraints upon the computer system.

Page 10: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Objects

Dr. Naji Shukri Alzaza

10

Attempt has to be made to keep the system update rate running as high as possible.

The complexity of the VE database plays a significant factor in determining this speed.

Therefore, it is important to minimize the polygon count without affecting the VE system.

Page 11: Virtual Reality (VR)  Introduction and Basic Applications

Dr. Naji Shukri Alzaza

11

Page 12: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Lights

Dr. Naji Shukri Alzaza

12

Lighting is important in illuminating the VE so that users are able to see the virtual objects properly.

Lighting can also play an important part in enhancing the mood and atmosphere of the VE experience.

Good lighting reduces the perceptual differences between a real and a virtual object, and can allow the audience to recognize the material of the virtual object better without requiring touch.

Page 13: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Lights

Dr. Naji Shukri Alzaza

13

Shadows can give the audience important depth cues for placing virtual objects in the scene.

When extra computing power is available, it is possible to implement a complete illumination model incorporating several light sources.

Moreover, the user can even explore the VE with a moveable light source to mimic the action of a handheld torch.

Page 14: Virtual Reality (VR)  Introduction and Basic Applications

Virtual Lights

Dr. Naji Shukri Alzaza

14

Page 15: Virtual Reality (VR)  Introduction and Basic Applications

FRONT (original)

TOP (ints 5)

FILL Daylight- Blue

Dr. Naji Shukri Alzaza

15

Page 16: Virtual Reality (VR)  Introduction and Basic Applications

Animation

Dr. Naji Shukri Alzaza

16

The most exciting contribution offered by computers is the ability to create and animate 3D virtual objects.

Animation is “a process of animating objects that appear in a three-dimensional space where they can be rotated and moved like real objects”.

In order to animate virtual objects in a VE, the user can only perform tasks that are supported by the software.

Animation is key to the interaction capabilities of VEs.

Animation does not imply that objects in the scene are moving; it could be that the viewpoint of the user is changing, as in an architectural walkthrough application.

As such, animation is critical to Virtual Reality; without it, we would simply be looking at three-dimensional photographs.

Page 17: Virtual Reality (VR)  Introduction and Basic Applications

Animation

Dr. Naji Shukri Alzaza

17

Page 18: Virtual Reality (VR)  Introduction and Basic Applications

Physical Simulation

Dr. Naji Shukri Alzaza

18

Simulation is “a representation of the operation or features of one process or system through the use of another”.

Physical simulation refers to simulation in which physical objects are substituted for the real thing.

These physical objects are often chosen because they are smaller or cheaper than the actual object or system.

Physical simulation allows simulated objects to behave in a physically realistic fashion.

This means that objects in the simulated world can be configured to behave just as real objects do.

Page 19: Virtual Reality (VR)  Introduction and Basic Applications

Physical Simulation

Dr. Naji Shukri Alzaza

19

Physical simulation is typically necessary when dealing with physically realistic jointed bodies, such as a simulated robot or simulated animal.

Physical simulation attempts to replicate real-world processes on a laboratory scale in a way that the resultant data can be used to solve real-world problems.

Example of usage: linked structures, human motion and natural phenomena.

Page 20: Virtual Reality (VR)  Introduction and Basic Applications

Physical Simulation20

Page 21: Virtual Reality (VR)  Introduction and Basic Applications

Level of detail (LOD)

Dr. Naji Shukri Alzaza

21

Level of detail involves storing within the database different levels of detail for specific virtual objects.

There are numerous schemas to implementing LOD, using selection criteria based upon an object’s Distance Size Velocity Eccentricity (irregularity, oddness)

Page 22: Virtual Reality (VR)  Introduction and Basic Applications

Level of detail

Dr. Naji Shukri Alzaza

22

Distance An object’s level of detail is based upon the

viewpoint. Size

An object’s level of detail is based upon a measure of its pixel size, or area, on the display device.

Page 23: Virtual Reality (VR)  Introduction and Basic Applications

Level of detail

Dr. Naji Shukri Alzaza

23

Velocity an object’s level of detail is based upon

velocity relative to the user i.e. its velocity across the display device or the user’s retina.

Eccentricity An object’s level of detail is based upon the

degree to which it exists in the periphery of either the display device or the user’s field of view.

Page 24: Virtual Reality (VR)  Introduction and Basic Applications

Level of detail

Dr. Naji Shukri Alzaza

24

LOD enables the real-time system to automatically selects the model description that matches the current view and mode of operation.

LOD is an important tool for maintaining interactivity.

The problem: Geometric datasets can be too complex to render at interactive rates.

Page 25: Virtual Reality (VR)  Introduction and Basic Applications

Level of detail

Dr. Naji Shukri Alzaza

25

Solution: Simplify the polygonal geometry of small or distant objects.

LOD is also known as: polygonal simplification geometric simplification mesh reduction decimation multiresolution modeling

Page 26: Virtual Reality (VR)  Introduction and Basic Applications

Level of detail

Dr. Naji Shukri Alzaza

26

Create levels of detail (LODs) of objects

69,451 polys 2,502 polys 251 polys 76 polys

Page 27: Virtual Reality (VR)  Introduction and Basic Applications

Level of detail

Dr. Naji Shukri Alzaza

27

• Distant objects use coarser LODs

Page 28: Virtual Reality (VR)  Introduction and Basic Applications

Level of detail

Dr. Naji Shukri Alzaza

28

Page 29: Virtual Reality (VR)  Introduction and Basic Applications

Collision Detection

Dr. Naji Shukri Alzaza

29

In VE we need to detect collisions happening between two (or more) virtual objects in order to avoid penetration, and also to perform the necessary responses on time.

This is done through the use of bounding spheres or bounding boxes.

The size of sphere or box completely constrains the virtual objects with which it is associated.

For example in a VE, when the user walks into a wall, then the user will either stop or will continue sliding along the wall.

Page 30: Virtual Reality (VR)  Introduction and Basic Applications

Collision Detection

Dr. Naji Shukri Alzaza

30

Sphere Bounding Box Bounding Boxes

Page 31: Virtual Reality (VR)  Introduction and Basic Applications

Collision Detection

Dr. Naji Shukri Alzaza

31

Page 32: Virtual Reality (VR)  Introduction and Basic Applications

Collision Detection

Dr. Naji Shukri Alzaza

32

The range of applications that require collision detection is extensive.

Vehicle simulators are one case where the users manipulate a steering device and attempt to avoid obstacles in their path.

In molecular modeling, simulation allows interactive testing of new drugs to examine how molecules interact and collide with each other.

Training and education systems that realistically model the movement of objects within the geometric constraints of their layout, allow designers to experiment interactively with different strategies example; to assemble or disassemble equipment, to perform a virtual surgery, or to test different paths that a robot could take.

Page 33: Virtual Reality (VR)  Introduction and Basic Applications

33

Dr. Naji Shukri Alzaza