OpenGL ES

107 views
Skip to first unread message

infinite8s

unread,
Feb 7, 2008, 11:57:07 PM2/7/08
to pyglet-users

Does pyglet work with OpenGL ES? I'm thinking of playing around with
pyglet on my iphone.

NMA

Alex Holkner

unread,
Feb 8, 2008, 12:03:41 AM2/8/08
to pyglet...@googlegroups.com
On Feb 8, 2008 3:57 PM, infinite8s <naveen.mic...@gmail.com> wrote:
>
>
> Does pyglet work with OpenGL ES? I'm thinking of playing around with
> pyglet on my iphone.

From what I understand, the iPhone SDK gives a Cocoa-like interface.
pyglet uses Carbon on OS X, so even assuming there's a Python build
for the iPhone with Objective-C bindings, there's a lot of work to get
pyglet going on there, before even considering the differences between
OpenGL ES and OpenGL.

Alex.

infinite8s

unread,
Feb 8, 2008, 10:12:34 AM2/8/08
to pyglet-users

I checked, and there is no Carbon framework on my iPhone. Also, there
is no AGL framework, just a basic OpenGLES framework. I guess to have
pyglet interface with Cocoa it is necessary to use pyobjc (which isn't
available either. something about an ffi interface that involves some
writing some ARM assembly hackery). That's too bad - it would be cool
to be able to quickly prototype games for the iphone using pyglet.

Naveen

On Feb 8, 12:03 am, "Alex Holkner" <alex.holk...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages