Unit : II - Interactive Techniques in Virtual Reality

 1. Introduction to Interactive Techniques in VR

Virtual Reality (VR) is a computer-generated environment that allows users to interact with 3D objects in real time.
Interactive techniques are the methods by which a user communicates with, navigates, and manipulates objects inside a virtual environment (VE).

Objectives of Interaction in VR

  • To create natural and intuitive interaction

  • To provide real-time response

  • To increase immersion and realism

  • To allow navigation, selection, and manipulation

Examples of VR Interaction

  • Moving inside a virtual building

  • Picking and rotating virtual objects

  • Flying through a 3D world

  • Touching objects using VR gloves


2. From 2D to 3D Interaction

2D Interaction

  • Used in traditional computer systems

  • Limited to X and Y axes

  • Examples: Mouse, keyboard, touchscreen

3D Interaction

  • Used in Virtual Reality

  • Includes X, Y, and Z axes

  • Depth perception is added

  • Users can move, rotate, and scale objects freely

Feature2D Interaction3D Interaction
DimensionsX, YX, Y, Z
DevicesMouse, KeyboardVR Controllers, Gloves
ImmersionLowHigh
ExampleDesktop appVR Game

3. 3D Space Curves

Definition

A 3D space curve is a curve that exists in three-dimensional space, defined by X, Y, and Z coordinates.

Mathematical Representation

A 3D curve is represented as:

x = f(t) y = g(t) z = h(t)

Where t is a parameter (usually time).

Use in VR

  • Camera movement paths

  • Object motion paths

  • Animation of avatars

  • Navigation trajectories

Example

  • A roller-coaster path in a VR amusement park

  • Flying path of a drone in VR simulation


4. 3D Boundary Representation (B-Rep)

Definition

Boundary Representation (B-Rep) describes a 3D object by defining its surfaces and edges.

Components of B-Rep

  • Vertices – corner points

  • Edges – line segments between vertices

  • Faces – flat or curved surfaces

Importance in VR

  • Used to define object shape

  • Helps in collision detection

  • Enables realistic rendering

Example

A cube in VR is defined by:

  • 8 vertices

  • 12 edges

  • 6 faces


5. Geometrical Transformations

Introduction

Geometrical transformations are used to change the position, orientation, or size of objects in a virtual environment.

Types of Transformations

  1. Translation

  2. Rotation

  3. Scaling


6. Frames of Reference

Definition

A frame of reference is a coordinate system used to measure position and orientation.

Types of Frames

  1. World Coordinate System

    • Fixed reference for entire VR world

  2. Object Coordinate System

    • Local reference for each object

  3. Viewer (Camera) Coordinate System

    • Based on user’s viewpoint

Importance

  • Helps in correct object placement

  • Simplifies transformations


7. Modelling Transformations

Translation

Moves an object from one place to another.

Example:

  • Moving a chair inside a virtual room

Rotation

Rotates an object around an axis.

Example:

  • Rotating a virtual fan

Scaling

Changes the size of an object.

Example:

  • Zooming a virtual model


8. Instances

Definition

An instance is a copy of an object that shares the same geometry but has different transformations.

Advantages

  • Saves memory

  • Faster rendering

  • Easy modification

Example

  • Multiple trees in a VR forest created using one tree model


9. Picking

Definition

Picking is the process of selecting an object in the virtual environment.

Methods of Picking

  • Ray casting (pointing controller)

  • Hand-based selection

  • Gaze-based selection

Example

  • Selecting a virtual tool using VR controller


10. Flying

Definition

Flying is a navigation technique that allows users to move freely in 3D space.

Characteristics

  • No gravity restrictions

  • Smooth movement

  • Useful for large environments

Example

  • Flying through a virtual city

  • Space simulation


11. Scaling the Virtual Environment (VE)

Definition

Scaling changes the size of the virtual world relative to the user.

Types

  • World scaling – enlarging or shrinking the environment

  • Object scaling – resizing specific objects

Example

  • Shrinking the world to view it like a model

  • Enlarging small components for inspection


12. Collision Detection

Definition

Collision detection determines whether two objects in VR intersect or touch.

Importance

  • Prevents objects from passing through each other

  • Adds realism

  • Enables physical interaction

Types

  • Bounding box collision

  • Sphere collision

  • Polygon-based collision

Example

  • Preventing a user from walking through a wall


13. Generic VR System

Introduction

A Generic VR System consists of hardware and software components working together to create a virtual experience.


14. Virtual Environment (VE)

Definition

A Virtual Environment is a simulated 3D world generated by a computer.

Features

  • 3D objects

  • Real-time interaction

  • Sensory feedback


15. Computer Environment

Components

  • High-performance CPU

  • GPU (Graphics Processing Unit)

  • VR software engines

  • Input/output interfaces


16. VR Technology

Hardware

  • Head Mounted Display (HMD)

  • Motion sensors

  • Controllers

  • Data gloves

Software

  • 3D modeling tools

  • Simulation engines

  • Interaction algorithms


17. Model of Interaction

Stages

  1. User action (gesture, movement)

  2. Input device captures action

  3. Computer processes input

  4. Virtual environment updates

  5. Output displayed to user


18. VR Systems

Types of VR Systems

  1. Desktop VR

  2. Immersive VR

  3. Semi-immersive VR

  4. Distributed VR

Applications

  • Education

  • Medical training

  • Gaming

  • Engineering simulation

  • Military training

Comments

Popular posts from this blog

Unit - I : Introduction of Virtual Reality