How can i apply lens effect to my UIImage like it shown here http://processing.org/learning/topics/lens.html?
How can i apply lens effect to my UIImage like it shown here http://processing.org/learning/topics/lens.html
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the Cocos2D framework to do that.
If you choose to use it, here is how you can easily apply a lens effect:
Your project is probably a UIKit project so you don’t want to restart your project from scratch. So, in the cocos2d-ios Xcode project there are a lot of examples of what you can do.
And there is an exemple which is called AttachTest and it show you how implement an EAGLView (which is a subclass of UIView) in an UIKit project.