and
V.R.M.L
C O M P U T E R G RA P H I C S S E M I N A R
DAT E 1 8 / 0 9 / 2 0 1 5
S U B M I TT E D BY: S U M I T KU M A R ( 1 5 M M F 0 0 1 6 )
JOSSELIN PERROT(15INT0005)
VIRTUAL REALITY
Overview
Introduction
Types
Applications
Devices
VRML
Job opportunities
Future
Resources
VIRTUAL REALITY
Classroom is a VE
VIRTUAL REALITY
Definition
What is virtual reality(VR)?
A computer generated,immersive
(or wide field),multi-sensory information
program which tracks a user in real
time.
VIRTUAL REALITY
History
Year
Person(s) Responsible
1965
Ivan Sutherland
The beginnings of VR
1977
1982
1983
Myron Krueger
1984
1987
1992
1995
Silicon Graphics
1999
VRML - History
WWW conference in March 1994 - basic requirements
defined.
WWW conference October 1994 - draft specification of
VRML 1.0 presented.
Used language from a 3-D modeler
Version 1.0 introduced April 1995.
Version 97 now available and in use
VIRTUAL REALITY
History
50s : beginning of VR researches
Sensorama, first
mechanical device with
multi-sensory system
Data Glove
EyePhone
VR tools
Head-mounted Display (HMD) :
Sight
Hearing
Touch
Odor generators :
Smell
Platforms :
Motion
Types
Immersive
Augmented
Text-based
Desktop (Window on a World)
Video Mapping
VIRTUAL REALITY
10
Types of Non-immersive VR
Text-based VR: when a reader of a certain text form a mental model of this
virtual world in their head from the description of people , places and things.
Augmented VR: the idea of taking what is real and adding to it in some way
so that user obtains more information from their environment.
VIRTUAL REALITY
11
APPLICATIONS
OF
VIRTUAL REALITY
VIRTUAL REALITY
12
Video games
Oculus Rift :
Development Kit 2 of
Oculus Rift
Aeropace
Astronautes training
Facilitate piloting
Give screened instructions on components
Astronauts equipped
with HMDs
Virtual Reality
Product design
Immersion facilitates the modelling of ideas
Prototypes in virtual environnements
More realistic simulations
Marketing :
More attractive showcases
Virtual demonstrations
Virtual markets
Medical
Main benefits :
Safety
Time
Money
Applications for :
professionnals : doctors, surgeons, paramedics
patients
Surgery
Dentistery
Paramedical
Treatment against
arachnophobia
Pain managment
Neuropsychological tests
Social cognition training
Test predicting
cognitive impairment
from patient
VRML
Background
Example VRML
Versions
VRML language
Creating a VRML world
VIRTUAL REALITY
20
VRML - Background
Sometimes pronounced vermel.
A language for building 3-D worlds on the WWW.
Use a VRML browser to walk around virtual world.
Browser downloads file containing description of world (in
VRML format).
Browser interprets scene descriptions and renders the
resulting image.
VIRTUAL REALITY
21
VIRTUAL REALITY
22
Using VRML
VRML
Renderer
usually browser
plug-in or
ActiveX control
VRML
text file
*.wrl
VIRTUAL REALITY
23
VIRTUAL REALITY
24
VIRTUAL REALITY
25
VRML Versions
1.0 Initial version. Static images.
97 aims to be multi-user, objects defined their
behavior, participants can see each other
VIRTUAL REALITY
26
VRML Language
VRML 97 provides these extensions and enhancements to VRML 1.0:
VIRTUAL REALITY
27
VRML Language
Script-like language in ASCII text
Given extension .wrl
For easy identification of VRML files, every VRML 97 file
must begin with the characters:
#VRML V2.0 utf8
VIRTUAL REALITY
28
VIRTUAL REALITY
29
The Structure
of
VRML
VRML can be viewed at a high level of abstraction as a
collection of objects which are called nodes.
VIRTUAL REALITY
30
The Structure
of
VRML
This was originally based on the Open Inventor 3D toolkit
developed by SGI, for VRML 1.0.
VIRTUAL REALITY
31
Characteristics of a Node
A node might be a cube, a sphere, a texture map, a transformation, etc.
The node has parameters that distinguish the node from other nodes of the
same type.
The node has a name.
The node can be part of a hierarchy.
VIRTUAL REALITY
32
Enhancement of VRML
VRML 97 adds five constructs to VRML 1.0 that can significantly
improve a 3D world.
Four of these (namely node event field, routes, sensors,
interpolators) connect and control animations, actions and
reactions.
The fifth (script nodes) allows for the interface with JavaScript
or Java programs.
VIRTUAL REALITY
33
Enhancement of VRML
In addition, VRML 97 allows for video images (in MPEG format) to be mapped
to a surface, collision detection, fog, text that always points to the user,
contoured terrains, and texture mapped backgrounds.
VIRTUAL REALITY
34
VIRTUAL REALITY
35
VIRTUAL REALITY
36
VIRTUAL REALITY
37
VIRTUAL REALITY
38
VIRTUAL REALITY
39
Transform {
children
[]
scale
111
translation
000
VIRTUAL REALITY
40
Effects of Transformation
translation
Transform {
translation 1 1 -1
children [
]}
rotation
translation 1 1 -1
rotation 0 1 0 0.785
scale
translation 1 1 -1
rotation 0 1 0 0.785
scale 0.5 1.0 0.5
Color {
color [ ]
}
PointSet {
color
coord
}
NULL
NULL
VIRTUAL REALITY
42
VIRTUAL REALITY
43
VIRTUAL REALITY
44
VRML Language
Material - with attributes such as diffuseColor,
and shininess
diffuseColor 0 0 0 is black, 1 1 1 is white
shininess 1.0 is highly reflective
Translation - to specify position of object
Level of Detail (LOD) nodes allow varying
level of detail with distance
WWWAnchor creates link to another VRML
world
VIRTUAL REALITY
45
VIRTUAL REALITY
46
Appearance
Defines the look of some piece of geometry
Material
combination of
ambient colour, diffuse colour, emmisive colour,shinines, transparency, specular colour
Texture
defines a picture to paste to the object
fetch from a URL
supports movies
TextureTransform
defines how the picture is applied to the object
Material Examples
Material
Shiny Material
ambientIntensity 0.3
diffuseColor 0.1 0.7 0.2
specularColor 0.6 0.8 0.6
shininess 0.6
Dull Material
ambientIntensity 0.1
diffuseColor 0.1 0.7 0.2
shininess 0.0
Transparent Material
diffuseColor 0.1 0.7 0.2
transparency 0.5
Lights
Provide illumination in the scene
DirectionalLight
PointLight
SpotLight
DirectionalLight
light rays travelling in parallel lines e.g. sunlight
DirectionalLight {
direction -1 -1 -1
intensity 0.8
}
Lights
PointLight
radiate in all directions
SpotLight
radiate only in certain directions, and with volumes of different intensity
Other Things
Interaction
Scripting
Java
JavaScript
Interpolators
Sensors
Fog
Background
Audio
Video
LOD
Billboard
References
Internet Refernces:
www.uc-Berkley.com
www.Wikipedia.com
VRML Consortium/Web3D
http://www.vrml.org/
VRML repository:
Books:
http://vrml.sdsc.edu/
VRML97 Specification
http://www.web3d.org/Specifications/VRML97/
VIRTUAL REALITY
52