卷页的当前状态 [英] Current status of Page Curl

查看:133
本文介绍了卷页的当前状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有过很多关于iPad的页面卷曲动画的问题,最近越来越多的应用已经包括这一点。

There have been alot of questions regarding page curl animations on ipad and lately more and more applications have been including this.

我已经看到它实现这个动画(这里和的这里),但这些都不(如Kindle的)似乎是接近的iBooks(除了目标的应用程序) - 但比在GitHub上的好。

I have seen links to two projects on github which implement this animation (here and here) but none of these (e.g. kindle) seem to be near to the ibooks (except for the 'Target' app) - yet better than the ones on github.

是否有任何新的解决方案在那里?

Are there any newer solutions out there?

推荐答案

我使用OpenGL和CoreGraphics中创建的页面卷曲状滤波器。谈到数学,阴影投射,着色等是一场噩梦:-)但这是现实,这是非常接近的iBooks之一。

I created a Page Curl like filter using OpenGL and CoreGraphics. Speaking about math, shadow casting, shader etc. was a nightmare :-) but it's realistic and it's very close to the iBooks one.

http://api.mutado.com/mobile/paperstack/

我工作的一个易于使用的API的GLView和其它类整合在一个共同的项目(例如PDF查看器)。

I'm working on an easy-to-use API to integrate the GLView and other classes in a common project (like a PDF viewer).

要恢复,背后的逻辑是基于一个圆锥形页面变形,但要像iBooks的现实,数学是从的农锥形变形。该过滤器是做的,我希望能完成API它在几个星期的话,我会发布在GitHub上。

To resume, the logic behind is based on a conical page deformation but to be realistic like iBooks, the math is quite different from the Nuon conical deformation. The filter is done, I hope to complete the API it in a couple of weeks then I'll publish it on github.

这篇关于卷页的当前状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆