DOI QR코드

DOI QR Code

Porting and Implementation of a 3D Cube Game using Android NDK(Native Development Kit)

안드로이드 NDK(Native Development Kit)를 이용한 3D 큐브 게임 이식 및 구현

  • 고은별 (숙명여자대학교 멀티미디어과학과) ;
  • 김녹희 (숙명여자대학교 멀티미디어과학과) ;
  • 황성미 (숙명여자대학교 멀티미디어과학과) ;
  • 이종우 (숙명여자대학교 멀티미디어과학과)
  • Received : 2013.09.24
  • Accepted : 2013.09.30
  • Published : 2013.09.30

Abstract

Almost all the mobile phone users already moved or are now moving away to smartphones for their various applications like games. If we are to speak about game applications, due to the performance limits of smartphones, 2D games are predominant over 3D games in every app. store. In this paper, we implement a 3D cube game application by porting an existing visual c++ irrlicht cube application to android platform library using the android Native Development Kit. After the porting is done, we add a few new features for more fun. Because the android NDK makes the existing C/C++ codes run directly on the android operating systems, we found by real execution tests that our 3D cube app. is well executed on a low-end android smartphone without any performance problem.

휴대폰 사용자들 대부분이 스마트폰으로 옮겨가면서 사용자들은 이제 스마트폰으로 다양한 게임을 즐기고 있다. 그런데 현재 앱스토어에 기기의 성능을 고려한 2D 게임은 다양하게 올라오고 있지만 3D 게임의 수는 아직도 많이 부족한 것이 실정이다. 이는 3D 게임이 많은 컴퓨팅 성능을 필요로 하기 때문인데, 본 논문에서는 안드로이드에서 NDK를 이용하여 3D큐브 게임을 구현하였다. 기존 비주얼C++ 일리히트 3D 큐브 소스를 NDK를 이용해 안드로이드 시스템 라이브러리로 이식하고 편의 기능을 추가하는 방식으로 구현하였다. NDK를 이용했으므로 기존 C++ 코드의 대부분이 자바 코드로 변환되지 않고 그대로 실행될 수 있어서 실행 시험 결과 비교적 구형 스마트폰 상에서도 3D 그래픽 동작들이 무난하게 이루어짐을 확인할 수 있었다.

Keywords

References

  1. Go Eun Lee, Jongwoo Lee, "Analyzing Effectiveness of the Web Application Development in Smartphone," Journal of Digital Contents Society, Vol.11, No.3, pp.323-330, Sep. 2010.
  2. http://irrlicht.sourceforge.net/
  3. Vladimir Silva, Pro Android Games, APress, 2009.
  4. http://occamsrazr.net/tt/231
  5. http://www.androidpub.com/1860163
  6. http://dlwpals001.blog.me/60126715319
  7. http://www.cygwin.com
  8. 송형주 외, 인사이드 안드로이드 : 안드로이드 프레임워크 동작 원리 분석, 위키북스, 서울, 2011.
  9. Sylvain Ratabouil, Android NDK Beginner's Guide, PACKT Publishing, 2012.
  10. http://developer.android.com/guide/topics/graphics/opengl.html
  11. http://www.opengl.org/
  12. http://blog.naver.com/statistical?Redirect=Log&logNo=50116738539
  13. http://blog.naver.com/khk6435?Redirect=Log&logNo=50134282707
  14. http://hellzblog.egloos.com/2432173
  15. http://jeehun.egloos.com/3998429
  16. http://developer.android.com/tools/debugging/ddms.html