25
Low Cost Virtual Low Cost Virtual Reality Platform Reality Platform Done by: Peter Fang, Kevin Done by: Peter Fang, Kevin Feng & Karen Wai Feng & Karen Wai Supervised by: Prof. Edwin Supervised by: Prof. Edwin Blake & Dave Maclay Blake & Dave Maclay

Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Embed Size (px)

Citation preview

Page 1: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Low Cost Virtual Reality Low Cost Virtual Reality Platform Platform

Done by: Peter Fang, Kevin Feng & Done by: Peter Fang, Kevin Feng & Karen WaiKaren Wai

Supervised by: Prof. Edwin Blake & Supervised by: Prof. Edwin Blake & Dave MaclayDave Maclay

Page 2: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

IntroductionIntroduction

• VR is expensive

• Benefit of cheap VR:– Education– Museum– Medical– etc

Page 3: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

High end VRHigh end VR

• Requires:– CAVE-like projection system – High speed graphics workstation– Stereo shutter glasses– Motion tracking device– Very expensive!

Page 4: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Aim of this projectAim of this project

• This project:– Cheap VR– PCs– Use high-end PC graphics accelerators– Distributed network– Explore the use of PS2 in VR

Page 5: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Work allocationWork allocation

• 3 parts in this project:– PC VR subsystem (Kevin)– PS2 VR subsystem (Peter)– Distributed network subsystem (Karen)

Page 6: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

PC-Driven VR subsystemPC-Driven VR subsystem

• 4 projectors

• Passive stereo

• Corner projection

• 3 PCs connected by distributed network system

• 2 Dual output display card

• Each display PC control 2 projectors to produce stereo effect

Page 7: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Control 5.1 Surround Sound System

L2

Display 1Hub

L1

Left

10/100 Mbps Ethernet

R2

Display 2

R1

Right

Diagrammatic representation of the PC-Driven Diagrammatic representation of the PC-Driven SubsystemSubsystem

Page 8: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Advantage & DisadvantageAdvantage & Disadvantage

• Advantage– Easy to implement

• Disadvantage– Higher cost

Page 9: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

DevelopmentDevelopment

• Torque engine used to construct VE

• MS VC++

• Windows XP

Page 10: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Possible ExperimentsPossible Experiments

• Compare PS2 and PC presence

• Compare PS2 and PC performance

• Different hardware configuration

Page 11: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

RiskRisk

• Delivery of hardware may delay

• Our strategy:– Schedule the implementation so only 2

projectors are required until the final stage

• Alternate the use of projectors for stereo and corner projection

Page 12: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

PlayStation2-Driven VR subsystemPlayStation2-Driven VR subsystem

• 3 PS2 connected by distributed network• No dual output on PS2• Can only produce stereo or corner projection

with 3 PS2• 2 weeks of investigation to decide which is more

appropriate and feasible• Goal: demonstrate feasibility of VR using PS2• Outcome: one VR demo using PS2

Page 13: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

DevelopmentDevelopment

• How to program a PS2:– Linux Kit– Consist of HD,

Network adaptor, mouse, keyboard, Linux, cable

– Available from www.linuxplay.com

Page 14: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

L1

Display 1

Left

Hub

R1

Display 2

Right

Control

10/100 Mbps Ethernet

Diagrammatic representation of the PS2-Diagrammatic representation of the PS2-Driven SubsystemDriven Subsystem

Page 15: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Advantages & DisadvantagesAdvantages & Disadvantages

• Advantage of PS2– Low cost– Equal performance of hardware

• Disadvantage– No audio in the proposed VR system– High software implementation complexity

Page 16: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Possible ExperimentsPossible Experiments

• Comparison with PC in hardware performance

• Comparison of user presence level

Page 17: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Risk 1Risk 1

• Lack of expertise in the department -> less support

• More difficult to program than PC because of different architecture

• Skills of PC programming cannot be easily transferred to PS2 programming

• Expect minimum system can be built• Analysis of the system will constitute the

major part of the project

Page 18: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Risks 2Risks 2

– No game engine -> no easy programming– OpenGL slow on PS2 due to different

architecture– Expect slow performance if no optimization in

PS2 assembly– However, we try to demonstrate feasibility,

therefore not a priority in this project– Confident that algorithm optimization will give

us interactive frame rate with PS2

Page 19: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Distributed network subsystem Distributed network subsystem

• PC driven VR system– 2 displaying computers & 1 control

• PS 2 driven – 3 PS 2– 1 for control, others for display

• Links by 10/100 Mbps Fast Ethernet

Page 20: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

ProblemProblem

• Synchronisation– Imbalance CPU & Graphics card– Equal performance PCs but with different

complexities for displaying scenes

• Need– Consistent frame rate – Synchronized display of graphics

Page 21: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

GoalGoal

• Synchronization of the different projector displays with mean out of sync of less than 0.1 second

Page 22: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

Possible ExperimentsPossible Experiments

• Performance analysis of the system in relation to # of computers

• Response time of the display PCs and synchronization overheads

Page 23: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

CostCost

Total estimated cost

≈ R151218 Detail in proposal

Hardware

Software

Others

92%

6.5% 1.5%

Page 24: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

ResourcesResources

• Hardware– 3 PCs with dual output graphics card

(R31000)– 3 PS2s with Linux kits (R15000)– Projectors (R80000)– Monitors, Network cards, Polarising filters etc.

Page 25: Low Cost Virtual Reality Platform Done by: Peter Fang, Kevin Feng & Karen Wai Supervised by: Prof. Edwin Blake & Dave Maclay

ResourcesResources

• Software– Torque Engine (US $ 200 ≈ R1652)– Windows XP Professional, Visual C++.Net

• Others– IP addresses etc.