Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bagusflyer opened this issue Mar 7, 2012 · 4 comments

Comments

@bagusflyer
Copy link

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
Copy link
Owner

Split82 commented Mar 7, 2012

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
Copy link
Author

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:
#13 (comment)

@Split82
Copy link
Owner

Split82 commented Mar 8, 2012

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
Copy link
Author

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:
#13 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants