Quote:
Originally Posted by ridchan
thanks a lot!
|
Has anybody found good tutorials for OpenGL ES 2.0?
And also tutorials for using the new GLKit in iOS 5?
I've seen tutorials for GLKit, but they all assume that you're using a GLKViewController, which forces you to use a full-screen OpenGL view. I need to use a GLKView by itself, without an owning GLKViewController. When I do that, it won't draw content.
I've used another tutorial that creates an OpenGL ES 2.0 based subclass of UIView (with a backing CAEAGLLayer.) and updated it to use parts of GLKit. It works fine on the simulator, but nothing renders but the glClear. There's obviously something wrong with my setup, but I can't find it, despite wading through the code in great and painful detail, checking for errors after every OpenGL call, etc. It's very frustrating.