Skip to content

Cethric/OpenGLES-Pythonista

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGLES-Pythonista

OpenGL for Embedded Systems bindings for the lastest Pythonista v1.6 beta


What It Does

  • This is boilerplate code for OpenGL ES for iOS in Python, with a little bit extra
  • Almost all GLES functions that are natively supported on iOS are supported in this. Except for and GLsync and sync commands
  • For most iOS devices running iOS 8 and greater OpenGL ES 3 is supported.
  • In GLKit/view.py there is support for both touch and the accelerometer
    for touch left side handles look and right side handles move
    accelerometer handles look

What it doesn't do

  • It currently does not have any texture loading support (but it can be implimented)

To do

  • Improve the physics simulation. This is not important but still nice
  • Clean the code up... Alot :/
  • Improve the shader utility
  • Improve GLKit and EAGL support Almost finished
  • More reliable header parsing
  • Create a better example file

Known Issues

  • Texture loading does not work. DO NOT USE IT, IT WILL CRASH
  • Physics is a little buggy and the camera could fall bellow 'ground'.
  • Creating a GLKView for the second time will usually fail

Other resources / misc

  • 3D physics support is done through Cannon.js which is a javascript port of the Bullet physics engine
  • Header parsing code. This was from an example that I found on stackoverflow which I expanded on quite a bit. However I do not remeber what post it was from. So if someone can find it please let me know.
  • Inspired by PyOpenGL for python
  • Light Weight Java Game Library

Please note the above is NOT affiliated with or in any way related to this, other than where I have made use of the code. I just what to thank them for their projects

About

OpenGLES bindings for the lastes pythonista beta

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages