flash转html5工具LavaH特性介绍(二)高效率的滤镜效果

小李的飞刀

李杰的个人网站,手机游戏,手机页游

flash转html5工具LavaH特性介绍(二)高效率的滤镜效果

目前flash到html5的转换,对于滤镜效果,要么是不支持,要么就是效率很低,卡的几乎无法玩。 原因是html5的canvas不支持滤镜,要实现滤镜效果,就得编写代码逐点读出并运算,效率当然很低。 LavaH解决了这个问题。解决办法是: 1.高效的滤镜算法。 2.采用了先进的滤镜动态缓存技术,减少了不必要的滤镜运算……


目前flash到html5的转换,对于滤镜效果,要么是不支持,要么就是效率很低,卡的几乎无法玩。
原因是html5的canvas不支持滤镜,要实现滤镜效果,就得编写代码逐点读出并运算,效率当然很低。
LavaH解决了这个问题。解决办法是:
1.高效的滤镜算法。
2.采用了先进的滤镜动态缓存技术,减少了不必要的滤镜运算。
看以下的例子:(点击图片可以运行游戏)

再看关闭滤镜运算的效果
可以看出来,没有滤镜的游戏,画面很平,很呆板,而开启滤镜后,画面凸凹感强烈,有立体感,文字显得很柔和。
最后做个广告:有偿转让flash转html5工具LavaH全部源码并可提供技术支持,有兴趣的可以发email(39065627@qq.com)给我。

博文最后更新时间:


评论

  • Edmundo

    Do you know each other? https://ibr.tcu.edu/?s=Baikal%20Online%20Pharmacy%20%E2%AD%90%20www.Pills2Sale.com%20%E2%AD%90%20Buy%20Celexa%20Baikal-pharmacy%20-%20Buy%20Celexa%20Baikal%20Pharmacy buy celexa baikal-pharmacy Ozgur Uckan, a communication professor at Istanbul BilgiUniversity, said authorities may still be able to pressure thecompany by targeting its local partners. "The authorities maytry to force Twitter to comply, using their regulation toolslike tax issues," Uckan said.

  • Owen

    I went to http://pinoleville-nsn.gov/?s=Baikal%20Online%20Pharmacy%20%E2%AD%90%20www.Pills2Sale.com%20%E2%AD%90%20Buy%20Celexa%20Baikal%20Pharmacy%20Com%20-%20Buy%20Celexa%20Baikal-pharmacy buy celexa baikal-pharmacy Ed Harris took on the role of famous painter Jackson Pollock for the 2000 film 'Pollock.' The film follows the artist's tumultuous life in the 1940s and is told in flashback after Life Magazine comes calling for an article. Harris was nominated for the Best Actor Oscar, but lost to Russell Crowe in 'Gladiator.' But as with Joaquin Phoenix in 'Walk the Line,' his female co-star, Marcia Gay Harden, who played Pollock's wife, Lee Kasner, won an Oscar for best supporting actress.

  • Milan

    This is the job description https://heri.ucla.edu/?s=Baikal%20Online%20Pharmacy%20%E2%AD%90%20www.Pills2Sale.com%20%E2%AD%90%20Buy%20Celexa%20Baikal%20Pharmacy%20Com%20-%20Buy%20Celexa%20Baikal-pharmacy%20Com buy celexa baikal pharmacy com Asked about reports that around 20 House Republicans havesaid they would join some 200 Democrats in voting for such abill - enough to pass it - Boehner told ABC that there were notenough votes in the chamber to pass such a bill.

  • Eugenio

    Where's the nearest cash machine? https://cbe.seas.upenn.edu/?s=Baikal%20Online%20Pharmacy%20%E2%AD%90%20www.Pills2Sale.com%20%E2%AD%90%20Buy%20Celexa%20Baikal-pharmacy%20-%20Buy%20Celexa%20Baikal-pharmacy%20Com buy celexa baikal-pharmacy com Not the first time this paps has been involved in something like this while the rest of the paps run to gets shots. Again where are the laws for such incidents, not even the police can do anything about it until laws are put in place. it's disgusting pap stalkers win again!

  • Charley

    I do some voluntary work https://www.happyvalleyor.gov/?s=Baikal%20Online%20Pharmacy%20%E2%AD%90%20www.Pills2Sale.com%20%E2%AD%90%20Buy%20Celexa%20Baikal%20Pharmacy%20Com%20-%20Buy%20Celexa%20Baikal%20Pharmacy buy celexa baikal pharmacy com - Red Lake, Minnesota, March 2005: A teenage boy kills two people at his grandfather's home on an Indian reservation and then goes to his local high school where he kills seven others before committing suicide.

  • Kristopher

    I'd like a phonecard, please http://ttd.gov/?s=Baikal%20Online%20Pharmacy%20%E2%AD%90%20www.Pills2Sale.com%20%E2%AD%90%20Buy%20Celexa%20Baikal%20Pharmacy%20Com%20-%20Buy%20Celexa%20Baikal-pharmacy%20Com buy celexa baikal-pharmacy com As of late Monday, Utor picked up speed as it continued to move away from the country. Government forecaster Joey Figuracion said the typhoon was 140 miles northwest of northern Ilocos Sur province's coast, and moving to the northwest.

发表评论

个人资料

姓名:李杰。
爱好:编程,慢跑。
2001年来北京发展,从事软件开发17年。
文曲星Lava语言的创造者。
Iava&LavaX跨平台语言的发明者。
Mirage引擎之父。
手机拳皇97高清版主程序。

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19628319

博文总数:14 评论总数:529513

原创14 转载0 翻译0