thgf

Only available on StudyMode
  • Download(s): 27
  • Published: September 27, 2014
Read full document
Text Preview
OPEN SOURCE IMPLEMENTATION OF PORTING 3-D BLENDER GAMES ON ANDROID OS USING OGRE GAMEKIT.
Nuradeen Maidoki, Emmanuel Awa, Yu Xia, Gaspar Obimba and Timothy J. Hickey Volen National Center for Complex System - Brandeis University Graduate School of Arts and Science
Department of Computer Science
ABSTRACT
The blender open source project is providing a competitive alternative to developing 3-D games when compared to other 3D authoring tools, like (Unity, Maya, 3D-Max etc)
that offer their products for commercial licenses especially their mobile platform integration. In order to allow blender users’ share this experience, our paper presents a simple tutorial for porting blender games using Ogre Gamekit on android OS. This tutorial presents a step by step instruction on how to port blender games and ”checklist” requirements, needed for seamlessly transferring a blender 3D game (a .blend file) and porting it on the Android OS platform (a .apk file). We intend to extend it to the iOS platform in our future work.

Index Terms— Blender, 3D Game Design, Mobile
Games, Ogrekit Gamekit, Porting 3-D Games
1. INTRODUCTION
OgreKit is a cross platform open source 3D game engine for
Windows,Linux,Mac, Android, iPhone and iPad. It has a
graphic engine backend called ”Gamekit” for Ogre.
The Ogre graphics integration is developed in svn/trunk
and has a physics engine consisting of Direct 3D/Open GL
Libraries for rendering 3D scenes, powerful RTshader library GLSL for light effects and meshes. It compiles on Visual C++ in windows and on gcc3+ on linux and Mac
OSX system. Fig 1. shows images of the Ogre from
http://code.google.com/p/gamekit/. This proves the Game kit
engine works, and will suit our purpose. This work currently covers an implementation using the Microsoft Windows platform. This paper is organized as follows. The next section provides a checklist on requirements needed before installing and the OgreKit library and integration to the android development environment using eclipse. The third section provides the reader a step by step process for using Ogrekit. It provides details of our implementation on how to take a .blend file, copy it to the SD card of the Android device, and run the processes that generates the .apk file. Then it explains how to push the files to the device using the android adb command.

Fig. 1. Diagrams of Ogre kit game from [3]
The fourth section prevents the errors we encountered during the project. The errors include common compilation errors, svn errors, RTShader errors and so on. Finally we conclude with an overview of the entire project and the future work this work has opened up.

2. CHECKLIST REQUIREMENTS FOR USING
OGREKIT AND ANDROID ON WINDOWS OS.
Currently, we have an implementation that is tested using the Windows OS. The following are applications needed for using
the Ogrekit.
• Subversion Client: SVN client is required for getting the ogrekit svn/trunk from the gamekit website (www.gamekit.org)
• Microsoft Visual C++ compiler: This is required to set
up the vc environment settings to allow our cmake program compile and make our libOgrekit.so file. see microsoft website (www.microsoft.com) • CMake: CMake generates native makefiles and workspaces
that can be used in the vc compiler environment of Microsoft Visual Studios. Download using http://www.cmake.org • Eclipse: GUI automated authoring tool using an extensible development platform, runtimes and application frameworks for building, deploying and managing Java/Android. Download in eclipse website http://www..eclipse.org

• Android SDK: Android SDK is the IDE for android
development. it has a powerful plug-in available

on the Android developer site for facilitating Android development. Get the android SDK platform (http://developer.android.com)
• Android NDK: Android NDK is a companion tool with
the SDK that allows user to perform critical operations
using native code using c/c++ and are packaged in
,apk file. use a...
tracking img