P.S.
Disable Use System Framerate to get three times faster performance.
P.S.S.
To get FPS, connect device to computer and type “adb logcat” into terminal (adb is part of android sdk)
Hi,
I’m porting Blenderplayer to Android for GSoC
Major Targets
Make BGE compatible with OpenGL ES 2.0 (Mobile graphics)
Port Blenderplayer to Android
First week or so I will set up major libraries. I already compiled headless blender for Android! So Mango will be the first movie rendered on mobile devices (maybe). Python is almost working thanks to PY4A project. I will probably will start with SDL for initial phase if it goes well, but I might switch to native android api for wider functionality.
The second, major part of the project will be converting and refactoring Blender’s OpenGL to comply with OpenGL ES 2.0 which Android supports. OpenGL ES 2.0 drops glBegin/glEnd and uses primarily shaders. I will be collaborating with Jason Wilkins. Probably he will be focused on optimizing and encapsulation of view code, while I be focused on writing OpenGL ES “classes” for this encapsulation for BGE code.
I am using Android 4.0 with the tablet. It is not in the list above. I wish you good luck… I am so looking forward to this project. A Dream will come true when this project is finished.
@doublebishop
Thanks for the graph. I had older info and also wanted to see what versions Blender users use.
Afaik honeycomb doesn’t change anything with OpenGL ES 2.0. It was introduced in Android 2.2. OpenGL ES 2.0 is a standard, so later BGE can be more ported to iPhone, Paspberry Pi.
Alex,
do you need a testfile? I can create a little demo file with some animation and very basic touch interaction. Maybe some little python code that is also working… And some GLSL Materials?
@swathi
I think his priority will be the blenderplayer for now. But as far as I know Ton wants Blender completely working on Android
I was just about to ask the same question. Probably just the game engine because it wouldn’t be practical to have a complete 3d application inside a phone
I also think that having blender editor itself inside android is quite pointless because it would not be comfortable to use and other must-use software wouldn’t run on it making workflow hard. Anyway, blenderplayer is a great addition to blender. Looking forward to it.
Thats totally awesome if we have this ported to android =) (Hope there will be also an iOS version?) Will change a lot (more channels for distribution - phones and tablets …) and even more possibilities?
I have ICS 4.0.3 on my original Transformer, I suggest you add 4.x to the list if you can. Otherwise, best of luck to you! I’d love to be able to take blender with me, and I think with the right touch control, it’ll be just as easy to use as the desktop version. Best of luck to you!
This is already done, and working, on Cube2 game engine (Open Source) made by Wouter van Oortmerssen the dude who make CryEngine, it has a Pure Javascript port ( http://cubeengine.com ) and it can import Blender .blend
@ Alex
what will be the procedure for the enduser later? How will I build the game for android? It would be great if we have the “export game as” functionality as we have it now for windows, linux and mac
I’m not sure the final goal of this project.
Will this project allow a Blender game to be packed into an APK for Android Market distribution?
Will this be equivalent to Unity 3D or Shiva?
Maybe, someone can open source their final game, as a proof of concept.
Very excited.:eyebrowlift:
Finished writing documentation how to compile Blender for Android. Still, a little complicated and rough. I think I mention everything which is needed, but I could miss something. It is targeted for people who already built blender on linux. http://wiki.blender.org/index.php/User:AlexK/Gsoc2012/Building_Blender_for_Android
For now it is just Blender Render. (you have to enable float points flag to get a good performance)
I’m available at #blendercoders for help.
ndee, CG_Tiger,
I didn’t yet decided on final distribution model. Probably we will have both. Blenderplayer on Android reads regular .blend file. So
a) We can have file/game selector
b) It can be package as APK
But blender player is about 16MB
Also, you have to compile Blenderplayer yourself
To change unique app name