DOI QR코드

DOI QR Code

Distance-based SAP Algorithm for Effective Collision Detection

효율적인 충돌 검출을 위한 거리 기반 SAP 알고리즘

  • Received : 2012.07.06
  • Accepted : 2012.07.31
  • Published : 2012.08.20

Abstract

The collision processing is one of the essential factors to realize physical principles in the game, and it gives liveliness to the game. The collision processing requires a large amount of operations, and significantly affects the game performance. To address this problem, many studies have been conducted to reduce the operation volume, and the SAP algorithm is being widely used. However, its efficiency is low because it involves repetitive operations. In this study, a distance-based SAP algorithm was proposed to reduce the operation volume for the collision processing and address the problem of the SAP algorithm. A test was conducted to measure the FPS using the simulation program, which was developed with the proposed algorithm. The FPS was 2-33 times higher with the proposed algorithm, which indicated that the efficiency of the collision processing was improved.

충돌 처리는 게임의 물리 법칙을 구현하기 위하여 매우 중요한 요소 중의 하나이며, 게임을 생동감 있게 하기 위한 과정이다. 충돌 처리는 매우 많은 연산이 필요하기 때문에 게임 성능에 중대한 영향을 미친다. 이를 해결하기 위해서 연산량을 줄이는 방식의 연구가 많이 진행되었고, 대표적으로 SAP 알고리즘이 많이 사용되고 있으나 반복되는 연산이 있어 효율성이 떨어진다. 본 논문에서는 충돌 처리의 연산량을 줄이고 SAP 알고리즘의 문제점을 해결하기 위하여, 거리기반 SAP 알고리즘을 새롭게 제안한다. 본 논문에서 제안한 알고리즘으로 만든 시뮬레이션 프로그램을 이용하여 FPS를 측정하는 실험을 진행한 결과, 제안한 알고리즘을 사용하는 경우가 사용하지 않는 경우에 비해서 FPS가 약 2~33배 높았기 때문에 충돌 처리의 효율이 향상되었다고 판단할 수 있었다.

Keywords

References

  1. Christer Ericson, "Real-Time Collision Detection", Morgan Kaufmann, 2005.
  2. Tomas Akenine-Moller, Eric Haines, "Real-Time Rendering", 정보문화사, 2003.
  3. S. Kockara, T. Halic, K. Iqbal, "Collision Detection: A Survey", Systems, Man and Cybernetics, 2007. ISIC. IEEE International Conference, pp. 4046-4051, 2007.
  4. Daniel J. Tracy, Samuel R. Buss, Bryan M. Woods, "Efficient Large-Scale Sweep And Prune Methods with AABB Insertion and Removal", Virtual Reality Conference, 2009. VR 2009. IEEE, pp. 191-198, 2009.
  5. Stefan Gottschalk, "Collision Detection Techniques for 3D Models", 1997.
  6. Dong-Jin Kim, Leonidas J. Guibas, Sung-Yong Shin, "Fast Collision Detection Among Multiple Moving Spheres", Computer Animation '97, pp. 1-7, 1997.
  7. Xavier Provot, "Collision and self-collision handling in Cloth model dedicated to design garments", Institut National de Recherche en Informatique et Automatique(INRIA), pp. 177-189, 1997.
  8. Zhiwen Yu, Hau-san Wong, "GPCD : Grid-based Predictive Collision Detection for Large-scale Environments in Computer Games", Multimedia and Expo, 2006 IEEE International Conference on, pp. 1025-1028, 2006.
  9. Rafael de Sousa Rocha, Maria Andreia Formico Rodrigues, Leandro da Silva Taddeo, "Performance Evaluation of a Hybrid Algorithm for Collision Detection in Crowded Interactive Environments", Computer Graphics and Image Processing, 2007. SIBGRAPI '06. 19th Brazilian Symposium on, pp. 86-93, 2006.
  10. Daniel S. Coming, Oliver G. Staadt, "Velocity-Aligned Discrete Oriented Polytopes for Dynamic Collision Detection", Visualization and Computer Graphics, IEEE Transactions on, pp. 1-12, 2008.
  11. Daniel S. Coming, Oliver G. Staadt, "Kinetic Sweep and Prune for Collision Detection", Proceedings of the Second Workshop in Virtual Reality Interactions and Physical Simulations(VRIPHYS'05), 2005.