我想实现与论文 53 中相同的书籍视图功能。它就像一本书可以打开和翻转等等。
我应该使用 OpenGL ES 还是 Core Animation 来实现它?
我想实现与论文 53 中相同的书籍视图功能。它就像一本书可以打开和翻转等等。
我应该使用 OpenGL ES 还是 Core Animation 来实现它?
I too am looking for something like this and there a few awesome things about the Paper implementation that the commenter and answerers of this question are overlooking.
1) Page flipping in paper is inertial. Got a 100 page book? Flip through dozens of pages at once with a strong swipe of the finger. Just like a real book. I haven't seen any free libraries that do that.
2) Watch the paper animation carefully. Looks to me like it was done in open gl. I don't think i've seen any core animation examples this fast and smooth. I could be wrong, and I'd love to be wrong.
3) Note how in Paper you can see beyond the edges of the current page so that you know how much of the book is on either side of the page you're currently on. Just like in a real book. This is subtle but critical.
If anyone has an idea of a library that takes on some of these things, do let me know.