goeiegenugtig

Nokia N95, Python and Blender Project

by admin on Jun.14, 2009, under Coding, Miscelaneous

Some cool guy discovered a way to make the accelerometer in the Nokia N95 control a sphere in a cube on Blender, a 3D rendering app via Python and Python script. Watch the video below to see how it’s done and visit his site to tell him if it’s you think it’s as cool as I do.

N95 acceleremoter in Blender from aktathelegend on Vimeo.

Okay, if you want to do this, I’m going to save you some time and give you exact versions that work:

First install Python for S60 on your N95

PythonForS60_1_4_5_3rdEd.sis
PythonScriptShell_1_4_5_3rdEd_unsigned_testrange.SIS -You have to get this signed by going to SymbianSigned and supplying the file, together with your email and IMEI # (get this by pressing *#06# on your Nokia), otherwise the phone will not allow the script to access the sensor data ( i think).

Download and Install:

Blender 2.49

Python 2.5.4

PySerial 2.4

PyWin 2.5

and then the scripts (all credit to the ossum guy who wrote these)

Create a bluetooth connection with your PC and make sure it’s paired.

run the blender95_server.py on your pc – it should say “waiting for N95″

run the Blender95.py script on your nokia

  • choose Options
  • choose Connect
  • choose your PC

It should say connected and when you start moving the phone around, you will see a green ball moving on the screen. At the same time you will see X and Y coordinates scroll down on the server running on your pc.

now run the cube.blend file and start the game by pressing “ALT+P” or by going to “game” and “start” from the menu.

I hope this works for you. I spent my whole Friday evening getting all the requirements and correct versions in order for this to work, but once it did, ahhh, it was bliss.

Bookmark and Share
:, , , , , ,

1 Comment for this entry

  • ruip

    hi dudes,
    I’m a 3d designer and i bought a nokia 5800xm that runs on S60 OS.
    Can i run Blender on it like i was using it on my PC?

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

Archives

All entries, chronologically...