![]() |
Spining Globe using Accelerometer or Touch Screen
This is basically the same code as my 3D Cube project.
But, I made some small adjustments in the code so that when you are using the accelerometer the animation will loop forever instead of stopping when hitting the end frames. Oh, and I changed the image from a photo Cube to a Spinning Globe. The Blender File of the globe animation is included with the code. Here is a Video of it. And here is the Code. Written in Python with PyGame. |
Re: Spining Globe using Accelerometer or Touch Screen
looks great but how do i open it ? still learning!
|
Re: Spining Globe using Accelerometer or Touch Screen
Quote:
If you are downloading it with a computer you can use pretty much any zip type program (exmaple: Archive Manager or tar) If you are useing tar: Code:
tar zxvf 3D_globe.tar.gz I do think there are some issues with the version of tar on the phone, but I haven't really looked into that. You can also untar straight to the phone with Nautilus using sftp protocol. But, I don't know what distro you are using or what file manager. But, there are many ways to untar the file. once untared, just go to the folder where you put the files and: Code:
./3d-globe_acc.py Basically you untar and ./3d-globe_acc.py If you need more help, let me know more about how you are trying to do this. whether you're doing it from a computer or you are trying to do it straight from the phone. |
Re: Spining Globe using Accelerometer or Touch Screen
yeah, I have the same question :)
|
Re: Spining Globe using Accelerometer or Touch Screen
awesome work man.. Merci!
|
Re: Spining Globe using Accelerometer or Touch Screen
I'm uploading a video now on how to use it.
|
Re: Spining Globe using Accelerometer or Touch Screen
Quote:
http://www.youtube.com/watch?v=e1UxTv94VoA |
Re: Spining Globe using Accelerometer or Touch Screen
I do that as a root but I have command Premission denied :(
|
Re: Spining Globe using Accelerometer or Touch Screen
Quote:
|
All times are GMT. The time now is 13:04. |
vBulletin® Version 3.8.8