View Full Version : Handheld 3D made easy - Python for S60 w/ GLES extension
Python for S60 1.3.14 now includes 'GLES' extension, OpenGL ES module ported to PyS60.
Fetch it from Sourceforge: link to release (http://sourceforge.net/project/shownotes.php?group_id=154155&release_id=465121)
Check out the simplecube.py, very easy to create canvas and just start doing GL magic.
This seems cool, but the Python code looked rather strange to me (more accustomed to C/C++/Java :))
Anyway, I'd like to give it a try, but I didn't quite understand how to use the SDK, there was no .exe-files in it, do I need to have some complete S60 SDK installed first?
For quick start download following files and install them to your phone (assuming S60 3rd edition device):
* Python dll (http://downloads.sourceforge.net/pys60/pythonfors60_1_3_14_3rded_selfsigned.SIS?modtime=1 164032399&big_mirror=0)
* script shell (http://downloads.sourceforge.net/pys60/pythonscriptshell_1_3_14_3rded_selfsigned.SIS?modt ime=1164032771&big_mirror=0)
After installing, Python icon will appear in your installations menu. Start that and you have a shell where you can directly input python or load .py scripts from phone/memorycard (left soft key for menu). You will get some demo apps within those installation packages, including two OpenGL ES examples.
Edit: you can also create standalone installations from .py scripts, check out Forum Nokia Python for S60 (http://discussion.forum.nokia.com/forum/forumdisplay.php?f=102) area for details.
Yeah, I got it running on the phone (by installing the SIS-files), but I assumed you could do some PC debugging/testing before downloading by using the SDK which had a whole bunch of DLLs and whatnot included.
Btw. the fullscreen mode on my 6630 seems to suffer from the same bug I have experienced while coding J2ME - setting fullscreen does not immediately return correct size (176x208), instead it stays at 176x144 for a while. This means that if you do some stuff like "getHeight()" it will return the wrong value for a couple of frames. I thought this was a J2ME-specific bug, but the Python stuff has the exact same bug.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.