From: Sjoerd Op 't Land <sjoerd@in...> - 2007-07-17 09:50:50
I have a related question, because I would like to use CoreVideo to pass
video frames to OpenGL. I'm a relative newcomer to ObjectiveC, but as
all examples on the Apple Developer-site are given in ObjectiveC, e.g.:
I expected that I could do this using PyObjC. Unfortunately, I can't
find any examples, perhaps because CoreVideo isn't wrapped by PyObjC.
What would be my best route to go? Use Pyrex and write a Python-plugin
that does the CoreVideo and some OpenGL command? (How) does this
interoperate with PyOpenGL?
Or should I start writing a CoreVideo-wrapper for PyObjC? (Remember I'm
a newcomer to ObjectiveC, I'm willing to learn, but...)
Antonin ENFRUN wrote:
> Am I right in thinking that the CoreGraphics api isn't supported/wrapped by
> pyobjc ? (...)
> My other solution would be to wrap the whole collision detection system,
> using CGContext, in a pyrex generated module. Is there any problem I should
> be aware of before trying ?
Thanks in advance,
Get latest updates about Open Source Projects, Conferences and News.