Archive

Posts Tagged ‘open gl’

Going Mad over Animated Views and OpenGL

March 10th, 2011 No comments

UIView on the iPhone devices is great to animate views into and out of the viewable area of your iOS device.

But a problem ensues if you try to Animate out of an OpenGL view using UIView animations.. At least one I have not figured out yet.

UIView into an OpenGL View works great!  Its upon dismissal that the problems arise. The entire view goes blank once removed from SuperView.

I happened across this guys use of CATransition which can animate the OpenGL View out of the screen, while the OpenGL view is animating.

I can only say that it appears to work just fine on the smaller iOS devices, I have no idea how this would work on a iPad.  Think speed and about 3x the pixels.

It occurs to me that I would probably have to screen capture the OpenGL View, and make that a background image on the view that is animating out for UIView animations to function for dismissed OpenGL Views.

 

 

 

eSpecialized Blog is using WP-Gravatar

Page optimized by WP Minify WordPress Plugin