DOI QR코드

DOI QR Code

Feature Map for Collision Detection in Motion-Based Game using Web Camera

웹 카메라를 이용한 체감형 게임의 충돌감지를 위한 특징맵

  • 이영재 (전주대학교 문화산업대학 멀티미디어) ;
  • 이대호 (경희대학교 학부대학)
  • Published : 2008.04.30

Abstract

We propose a feature map method to detect a collision for a motion-based game. The feature map can be made an optimally reduced motion data using subtraction image and virtual ball images according to image size and condition. And we calculate the overlapped ratio between moving image data and objects. This ratio is an invariant for detection even though image size is changed. And we compare this ration with collision detection constant, the feature map can detect fast collisions as well as the collided direction. To evaluate the method, we implemented a motion-base game that consists of a web cam, a player, an enemy, and some virtual balls, and we obtained some valid results for our method for the collision detection. The results demonstrated that the proposed approach is robust, and they can be used as a basic collide detection algorithm for a motion-based game where the size and the position of characters are continuously changing.

체감형 게임 제작에서 필요한 충돌 감지를 위한 특징맵 방법을 제안한다. 특징맵은 충돌이 발생하는 물체들의 중첩 픽셀 비를 불변량으로 이용하는 방법으로 영상의 크기를 환경과 조건에 따라 조절해가면서 정할 수 있으므로 빠른 충돌감지가 가능하며 또한 충돌 부위도 감지 할 수 있는 장점이 있다. 이를 검증하기 위하여 web cam, 게임플레이어, 적캐릭터, 가상 오브젝트를 이용한 체감형 게임을 제작하고 특징맵을 사용하여 충돌 감지를 실험하여 그 타당성을 확인하였다. 이 방법은 게임에서 캐릭터 크기와 위치가 지속적으로 변화하는 경우 효과적인 충돌 감지를 위한 기본적인 알고리즘으로 응용될 수 있다.

Keywords

References

  1. Ming-Hsuan Yang, Ahuja, N., and Tabb, M., "Extraction of 2D motion trajectories and its application to hand gesture recognition", IEEE Trans, on Pattern Analysis and Machine Intelligence, Vol. 24(8), pp. 1061-1074, Aug. 2002 https://doi.org/10.1109/TPAMI.2002.1023803
  2. Andrew Wu, Mubarak Shah and N. da Vitoria Lobo, "A Virtual 3D Blackboard: 3D Finger Tracking using a Single Camera" Proceedings of the Fourth International Conference on Atomatic Face and Gesture Reconition, pp. 536-543, 2000
  3. 지수미, 체감형 게임의 현장감 증진방안 연구, 광운대 2006 석사논문
  4. 박지영,김기찬,박정우,이준호, "컴퓨터 비전 기술 기반 체감형 복싱게임", 성균관대 논문집 (과학기술편), 제53권2호, pp.35-51, 2002
  5. 김혜린, 장혜정, 박승호, "체감형 게임 중신의 텐져블 인터페이스 디자인 연구", 2004 HCI 학술대회 발표 논문집 2권 413-419, 2004
  6. 최삼하, 김경식, 윤성준, "온라인 게임에서의 체감시스템 적용사례분석", 한국게임학회논문지, 제4권 2호 pp1-8, 2004
  7. 이영재, "컴퓨터 게임을 위한 충돌 알고리즘", 한국게임학회논문지, 1권1호, pp42-48, 2001
  8. www.gamasutra.com/features/20000330/bobic_0-1.htm
  9. M.Moore and J. Williams, "Collision Detection and Response for Computer Animation", Computer Graphics, vol.22.4, pp 289-298, 1988
  10. 김현준, 경종민,"3차원 컴퓨터 애니메이션을 위한 충돌 검색 및 반응 계산", 전자공학회논문지 제 30권 a편 제 3호, pp130-138, 1993
  11. 김상형, Windows API 정복, 가남사,2004

Cited by

  1. 웹캠과 공간정보를 이용한 체감형 기능성게임 vol.13, pp.9, 2008, https://doi.org/10.6109/jkiice.2009.13.9.1795