Split82 / HMGLTransitions

HMGLTransitions is set of classes which can animate transition between two UIViews, or presentation / dismissing of UIViewControllers.
795 stars 109 forks source link

Is it possible to implement the animation controlled by touch actions? #13

Open bagusflyer opened 12 years ago

bagusflyer commented 12 years ago

What I want to ask is if I can control the animation by touch action instead of after you press a button? For example, when I swipe to left, the flip animation will start and will change the position with the point the finger touched and finish only when the touch released.

I don't know you understand what I mean or not. It's something similar with the iBooks page turning animation.

Thanks

Split82 commented 12 years ago

This is not implemented and it will need a little bit of work. I'm currently not working on HMGLTransitions, so I would recommend you try it by yourself. It's not very hard task. Good luck.

bagusflyer commented 12 years ago

Thanks. It's a great work of you.

As I know the HMGLTransitions is using openGL ES which I'm not very familiar with. My question is that if there is any problem if I use these transitions for any normal UIView or UIViewController.

Thank again, Zhou Hao

在 2012-3-8,上午01:25, Jan Ilavsky 写道:

This is not implemented and it will need a little bit of work. I'm currently not working on HMGLTransitions, so I would recommend you try it by yourself. It's not very hard task. Good luck.


Reply to this email directly or view it on GitHub: https://github.com/Split82/HMGLTransitions/issues/13#issuecomment-4372826

Split82 commented 12 years ago

The technology here is quite simple and should work on all kind of UIViews. UIView is rendered into texture, than OpenGL view is used with 3D scene and texture is mapped on triangle mesh. However I wouldn't recommend using this on very complicated views with lot of subviews, because rendering of this can be slow.

bagusflyer commented 12 years ago

Thank you for your advice. I'll try it.

在 2012-3-8,上午09:21, Jan Ilavsky 写道:

The technology here is quite simple and should work on all kind of UIViews. UIView is rendered into texture, than OpenGL view is used with 3D scene and texture is mapped on triangle mesh. However I wouldn't recommend using this on very complicated views with lot of subviews, because rendering of this can be slow.


Reply to this email directly or view it on GitHub: https://github.com/Split82/HMGLTransitions/issues/13#issuecomment-4382839