Pandora Pandora Gles Python Module Initial Release


chris_c

Member
Joined
Jun 25, 2010
Messages
393
Age
55
It has bugs of that you can be sure, more than happy with the speed despite the fact its unoptimised - no idea what frame rates you can get out of it - but I can tell you have more than enough speed for a game ! :D

Please read thoroughly the documentation such as it is - including the example source code

get it here
http://dl.openhandhelds.org/cgi-bin/pandora.cgi?0,0,0,0,19,226

see it in action here
http://www.youtube.com/watch?v=6e5av8V9dpk


Please contribute examples for future releases....

Enjoy!
 
skeezix said:
Nice one :) I'll check it out for sure :)

jeff
Ignore stuff the doc about bug with creating a context, I know why its working and whats wrong, its more than usable and also fixed on my local version in prep for the next release...
 
Last edited by a moderator:
I am not a programmer by any means, but does this mean, that frets on fire might work with acceleration? It is written in python but needs opengl acceleration.
 
mcobit said:
I am not a programmer by any means, but does this mean, that frets on fire might work with acceleration? It is written in python but needs opengl acceleration.
Not without porting (I mean migrating code from pythonGL to this module)
 
Last edited by a moderator:
But it would make it easier?

I am thinking of building a guitar, in which te Pandora can be plugged in. With a USBhub and a hacked joypad inside to register the frets and other controls.

But there is no software like frets on fire for Pandora.

I think someone got it working in maemo.
But with the ogl-stuff ripped out.
 
I did RTFM but I don't understand why I get an error on running gles-test.py:

Code:
File "gles-test.py", line 2, in <module>
import sys,ctypes
File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes

How can I get it to run?
 
zapman said:
I did RTFM but I don't understand why I get an error on running gles-test.py:

Code:
File "gles-test.py", line 2, in <module>
import sys,ctypes
File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes

How can I get it to run?

You need to install the ctypes python module.

http://docs.python.org/library/ctypes.html
 
Last edited by a moderator:
TrashyMG said:
zapman said:
I did RTFM but I don't understand why I get an error on running gles-test.py:

Code:
File "gles-test.py", line 2, in <module>
import sys,ctypes
File "/usr/lib/python2.6/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes

How can I get it to run?

You need to install the ctypes python module.

I'll be making a new release soon, so I'll be sure to mention it!

http://docs.python.org/library/ctypes.html
http://www.angstrom-distribution.org/feeds/next/ipk/eglibc/armv7a/python/python-ctypes_2.6.5-ml12.1.9_armv7a.ipk
sorry forgot about that!
 
Last edited by a moderator:
After installing the ctypes package your demo runs fine. I don't understand most of your code though, no chance for me to make use of your module.

chris_c said:
Please contribute examples for future releases....

What examples for future releases are you looking for? Would it help if you had some additional 3D content? That would be something I could contribute..
 
Last edited by a moderator:
Back
Top