Reply
Thread Tools
metalx1000's Avatar
Posts: 23 | Thanked: 31 times | Joined on Mar 2008 @ Florida
#1
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.
__________________
Don't give Microsoft the remote control. Don't use Windows 7. <http://windows7sins.org>
 

The Following 3 Users Say Thank You to metalx1000 For This Useful Post:
Posts: 35 | Thanked: 4 times | Joined on Feb 2010
#2
looks great but how do i open it ? still learning!
 
metalx1000's Avatar
Posts: 23 | Thanked: 31 times | Joined on Mar 2008 @ Florida
#3
Originally Posted by radiosw View Post
looks great but how do i open it ? still learning!
Simple download and untar the file.
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
And then copy the files to the phone.
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
I hope that helps and I didn't confuse you more.
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.
__________________
Don't give Microsoft the remote control. Don't use Windows 7. <http://windows7sins.org>
 
Posts: 356 | Thanked: 69 times | Joined on Jan 2010 @ Poland
#4
yeah, I have the same question
 
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#5
awesome work man.. Merci!
 
metalx1000's Avatar
Posts: 23 | Thanked: 31 times | Joined on Mar 2008 @ Florida
#6
I'm uploading a video now on how to use it.
__________________
Don't give Microsoft the remote control. Don't use Windows 7. <http://windows7sins.org>
 
metalx1000's Avatar
Posts: 23 | Thanked: 31 times | Joined on Mar 2008 @ Florida
#7
Originally Posted by radiosw View Post
looks great but how do i open it ? still learning!
Watch this video:
http://www.youtube.com/watch?v=e1UxTv94VoA
__________________
Don't give Microsoft the remote control. Don't use Windows 7. <http://windows7sins.org>
 

The Following User Says Thank You to metalx1000 For This Useful Post:
Posts: 356 | Thanked: 69 times | Joined on Jan 2010 @ Poland
#8
I do that as a root but I have command Premission denied
 
Posts: 35 | Thanked: 4 times | Joined on Feb 2010
#9
Originally Posted by metalx1000 View Post
Watch this video:
http://www.youtube.com/watch?v=e1UxTv94VoA
Awsome works now you are a star or should that be globe! Thanks for taking the time to explain with the video.
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:08.