Download presentation
Presentation is loading. Please wait.
Published byMarybeth Fleming Modified over 8 years ago
1
WebCamGame: Controlling a Game using Augmented Reality Christaan Meijer, Djura Smits, Ninghang Hu and Wouter Josemans
2
Overview Introduction & Problem Specification Game Tracker Demo Discussion Questions
3
Introduction Goal: make business cards more interesting Challenges: real-time tracking of interesting markers, making an interesting game Racing game?
4
Introduction Goal: make business cards more interesting Challenges: real-time tracking of interesting markers, making an interesting game Racing game? Flying game!
5
Game 3D flying game Magic Flying Carpets Goal: reach finish “line” first 3 opponents Pass checkpoints
6
Game: Mechanics Camera fixed behind carpet Carpet can be controlled using business card Rotate marker to steer, tilt marker to dive/rise Speed is controlled automatically (more or less)
7
Game: AI Problem: AI is too good at flying lonely racing Challenge: Make AI convincingly bad The RaceScript method was used (as used in the Pure racing game) Opponents try to follow a script
8
RaceScript Divides opponents into roles: front, middle and back Roles are determined relative to the player Each role has different aiming point Each opponent will adapt his strategy to the distance to the aiming point Script is not strict
9
Racescript: Example
10
Tracker FLARToolKit –Flash port of ARToolKit –Easy to use –6 dof: x, y, z, yaw, pitch, roll
11
FLARToolKit: cons Marker restrictions Not very accurate Japanese documentation Hard to modify
12
BYO tracker Hough transform RANSAC
13
Hough transform Edge detection/convolution filter Threshold on edges to speed up Edges transformed to possible lines: r, Θ Maximum from Hough space
14
RANSAC Gradients in x and y-directions Threshold gives edgels Only neutrally colored edgels Edgels have a direction Hypothethic line based on random edgels Dominant line has most supporting edgels
15
Evaluation
16
Demo
17
Discussion Game +Reasonably satisfied +Fun racing experience -Opponents slow down for no good reason -Player does not have control over speed; add speed boost option? -Environment is a bit empty
18
Discussion Tracker
19
Questions
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.