[Bf-committers] BlenderPocket and iPhone/iTouch

Shaul Kedem shaul.kedem at gmail.com
Sat Sep 26 02:28:50 CEST 2009

 This is possible, and fairly comlicated.

 Blender uses C and C++ with python, iphone uses objective-c with
cocoa and such, all of the things said till now are correct, here are
some other hurdles :-) :

 1. python cannot be used according to Apple's SDK terms
 2. OpenGL behaves a bit differently (performance wise) between 3g and
3gs (and maybe ipod 2g and 3g, not sure)
 3. mac cocoa is not iphone cocoa (as said above) - not all of the
things in mac transfer into iphone
 4. CPU , RAM and HD are limited

 *However* its been done for win mobile, so it can be done for iphone,
objective-c can become a very thin shell, opengl es can be abstracted,
and the ctrl and shift buttons can easily be created as modal 2d
buttons on top of the 3d perspective, sending touch events as "ctrl"
and "shift" to the engine.

 I'd recommend you go through SIO2, it is a fine piece of dev with
roots in blender, maybe you can even use SIO2 as the "blender for
iphone", outputting SIO2 native format and converting it to blender on
the desktop, see here: http://sio2interactive.com/TECHNOLOGY.html


On Fri, Sep 25, 2009 at 7:40 PM, William Reynish <billrey at me.com> wrote:
> On 25 Sep, 2009, at 11:50 PM, Salvatore Russo wrote:
>> Hi,
>> ...
>> But the first difficulties that I see are:
>> 0) iPhone OS is not a so open platform and to install Blender on it,
>> you
>> will have to jailbreak it.
> Huh? What leads you to say that you need to jailbreak it? I have to
> set this straight. Apple doesn't prohibit open source software on the
> iPhone. There are many open source iPhone apps, and this is just a
> subset of them:
> http://maniacdev.com/2009/06/11-open-source-iphone-app-store-apps-to-learn-from/
>> 1) iPhone OS is using Cocoa and not carbon
> This is being worked on, but iPhone uses Cocoa Touch which is a
> specialized version of Cocoa optimized for touch interfaces.
>> 2) it will not be possible anymore (as in my previous version of
>> BlenderPocket) to use hardware buttons to emulate shift/control/alt: I
>> will have to find an “easy” way to use Blender only with multi touch
>> screen.
> Dude, that is the least of your problems. Quite obviously the entire
> UI would have to be different. You don't have a mouse and keyboard,
> nor a very big screen.
>> 3) I still have to investigate how to have phython on iPhone OS
>> 4) For this version, if it works, I would try to extend
>> BlenderPocket to
>> the game engine...
> Good luck ;)
> Cheers,
> -W
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list