How would I go about creating the introduction that AirBnB uses in their app? The functionality that they've created can be found here http://www.youtube.com/watch?v=E_RlPZYIpIY
Are they using OpenGL, or just some fancy manipulation of the uiview? Any and all help would be most appreciated! Thanks
It's most definitely not OpenGL. It's probably just a bunch of UIView animation blocks or Core Animation.
They are basically CGAffineTransformation effects: Translation, scaling, rotation...
OpenGL is expensive though. If you only wants some 2D effect, Core Graphics Framework is enough.
Related
There is an app with awesome vertical transition - Haze. How did they realize this animation between home screen and settings? Did they use some framweork or something else?
Thank you!
Willi Wu, one of the app's creators, tweeted this:
it’s OpenGL, CAShapeLayer and OpenAL as well.
Franz Bruckhoff, another of the creators, tweeted this in response to the question “Is Haze primarily built with OpenGL?”
Yep, mostly. Some CA too.
They are not seperate screens
Use layers and drawing techniques
They use core animation and core graphics
Use touch event to detect gestures.
Some mathemetical calculation
some color sense ofcourse
For an iPhone app, I'd like to use popOvers (which are not available for the iPhone) like UIVIews.
Since I started a bit using core graphics (thanks to the wonderful tutorials on ray wenderlich's website), I would love to try to draw them using Core Graphics.
My question is pretty simple : should I just create a class and draw everything inside drawRect, to should I use instances of CALAyers each one dedicated to a particular area of the popOver (one for the arrow, one for the borders, and so on...)? What would be your way of doing it?
Thanks a lot.
https://github.com/werner77/WEPopover
Check the above git..
Easy way
edit : posted wrong link first..my bad
I need to draw two lines of text in a 3D perspective. They're not just flat characters, they are really 3D models and need to animate as well. Preferably with a glossy effect on them.
It sounds really complex to me and I have no experience with OpenGL. Are there frameworks that make this easy or am I looking at a difficult and timeconsuming task?
use cocos3d. cocos3d link here.
That kind of functionality on the iPhone requires plain OpenGL knowledge. You'll need to learn OpenGL and implement all of this by yourself. I know OpenTK is being ported to iPhone but that's not done yet. Good luck!
I'm trying to play around with ios development and thought of a function that I'd like to achieve but don't yet know where to begin. In short, what I want to do is being able to draw lines with touch and then compare the drawn graphics with another image by pixels. I'm wondering what graphics suite should I use for drawing and comparing image functions? Thanks!
Quartz and Core Graphics are what you will need for pixel processing in iOS. I'm not positive if there are any open frameworks available that try to wrap some of this into friendlier usage, but i haven't used any. Here is a link to the Quartz2d document from Apple: Quartz 2D
As far as touch handling, there are a number of great tutorials to help with this. Try googling iphone touchesBegan.
I'm creating an interactive e-book for the iPad. This book will contain multiple pages that will consist of a lot of animations (frame and motion animations), transitions,... I was wondering what my development options are, should I use OpenGL, Quartz,...?
I've use UIImageView.animationImages before and found that it had really bad performance. What's the best way to draw frame based animations?
Does anybody have some good pointers to resources on this?
thanks in advance,
Thomas
I guess that depends a bit on what you'll be drawing. If you have a need for 3D, then OpenGL is the way to go, but it doesn't sound like it. I have a feeling Quartz2D is going to be just fine for your 2D drawing needs. I've done drawing with both and they have a very similar API. I think the downside of using all the raw power of OpenGL is that you have then signed up for doing most of the work yourself. I don't recommend attempting to using Core Animation high level APIs to manipulate OpenGL views.
If you do use Quartz2D and "normal" UIViews instead of OpenGL/EAGLView, then you can take advantage the many pre-canned animations Apple already build with Core Animation. This include the card flip left/right, resizing, moving (x/y translation), rotation and the ever popular e-book page curl.
The best example of iBook like custom page curl functionality I could find is this example code from High Caffeine Content. However, you don't have to bring that much math to the table if you just want to use the out of the box Core Animation stuff. The bad performance you may have encountered could have been due to anything, including older/slower hardware. They have revved the graphics chips on the new devices.